using Admin.NET.Application.Const;
namespace Admin.NET.Application.Entity;
///
/// 自己业务数据表
///
[SugarTable("d_test", "自己业务数据表")]
[Tenant(TestConst.ConfigId)]
public class Test : EntityBase
{
///
/// 姓名
///
[SugarColumn(ColumnDescription = "姓名", Length = 32)]
[Required, MaxLength(32)]
public string Name { get; set; }
///
/// 年龄
///
[SugarColumn(ColumnDescription = "年龄")]
public int Age { get; set; }
///
/// 出生日期
///
[SugarColumn(ColumnDescription = "出生日期")]
public DateTime BirthDate { get; set; }
}