50 lines
1.2 KiB
C#
50 lines
1.2 KiB
C#
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Admin.NET.Core
|
|
{
|
|
|
|
/// <summary>
|
|
/// 选科规则
|
|
/// </summary>
|
|
[SugarTable("bus_tenant_subjectdata", "选科规则")]
|
|
public class BusTenantSubjectData : DEntitySortTenant
|
|
{
|
|
|
|
/// <summary>
|
|
/// 选课规则所属学年
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "选课规则所属学年")]
|
|
public long StudyYearsId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 规则名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "规则名称")]
|
|
[MaxLength(200)]
|
|
public string Title { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 是否开启限制规则,1限制
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "是否开启限制规则")]
|
|
public int Type { get; set; } = 1;
|
|
|
|
/// <summary>
|
|
/// 选课限制规则
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "选课限制规则")]
|
|
[MaxLength(int.MaxValue)]
|
|
public string Rules { get; set; }
|
|
|
|
}
|
|
}
|