using Admin.NET.Application.Const; namespace Admin.NET.Application.Entity; /// /// 自己业务数据表 /// [SugarTable(null, "自己业务数据表")] [Tenant(ApplicationConst.ConfigId)] public class Test : 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; } }