37 lines
823 B
C#
37 lines
823 B
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_grade_info", "年级表")]
|
|
public class BusGrade: DEntitySortTenant
|
|
{
|
|
|
|
/// <summary>
|
|
/// 年级名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "年级名称")]
|
|
[Required, MaxLength(200)]
|
|
public string Name { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 年级编号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "年级编号")]
|
|
[Required, MaxLength(200)]
|
|
public string NumberCode { get; set; }
|
|
|
|
}
|
|
}
|