using Kurisu.AspNetCore.DataAccess.Entity; using Kurisu.AspNetCore.DataAccess.SqlSugar; using SqlSugar; namespace Dlhis.Entity.Canteen.Entities; [SugarTable(TableName = "DishesCategory", TableDescription = "菜品分类")] public class DishesCategoryEntity : SugarBaseEntity, ITenantId { /// /// 营业点 /// [SugarColumn(ColumnDescription = "营业点", IsNullable = false)] public Guid BusinessPlaceCode { get; set; } /// /// PCode /// [SugarColumn(IsNullable = true)] public Guid? PCode { get; set; } /// /// Code /// [SugarColumn(IsNullable = false)] public Guid Code { get; set; } /// /// 分类名称 /// [SugarColumn(ColumnDescription = "名称", IsNullable = false)] public string Name { get; set; } /// /// 序号 /// [SugarColumn(ColumnDescription = "序号", IsNullable = false, DefaultValue = "100")] public int Sequence { get; set; } = 100; public string TenantId { get; set; } }