45 lines
1.1 KiB
C#
45 lines
1.1 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_studyyears_info", "学年表")]
|
||
public class BusStudyYears : DEntitySortTenant
|
||
{
|
||
/// <summary>
|
||
/// 学年名称
|
||
/// </summary>
|
||
[SugarColumn(ColumnDescription = "学年名称")]
|
||
[Required, MaxLength(300)]
|
||
public string Name { get; set; }
|
||
|
||
/// <summary>
|
||
/// 学年入学时间
|
||
/// </summary>
|
||
[SugarColumn(ColumnDescription = "学年入学时间")]
|
||
public DateTime StartDays { get; set; }
|
||
|
||
/// <summary>
|
||
/// 学年毕业时间
|
||
/// </summary>
|
||
[SugarColumn(ColumnDescription = "学年毕业时间")]
|
||
public DateTime EndDays { get; set; }
|
||
|
||
/// <summary>
|
||
/// 0在读,1已毕业学界
|
||
/// </summary>
|
||
[SugarColumn(ColumnDescription = "学年状态")]
|
||
public int Status { get; set; }
|
||
}
|
||
}
|