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