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