using Admin.NET.Application.Const;
namespace Admin.NET.Application.Entity;
///
/// 多库代码生成测试学生表
///
[SugarTable("d_student", "多库代码生成测试学生表")]
[Tenant(ApplicationConst.ConfigId)]
public class Student : EntityBase
{
///
/// 姓名
///
[SugarColumn(ColumnDescription = "姓名", Length = 32)]
[Required, MaxLength(32)]
public virtual string Name { get; set; }
///
/// 年龄
///
[SugarColumn(ColumnDescription = "年龄")]
public int Age { get; set; }
///
/// 出生日期
///
[SugarColumn(ColumnDescription = "出生日期")]
public DateTime BirthDate { get; set; }
}