using Kurisu.AspNetCore.DataAccess.Entity; using Kurisu.AspNetCore.DataAccess.SqlSugar; using SqlSugar; namespace Dlhis.Entity.Canteen.Entities; /// /// 订餐明细表 /// [SugarTable(TableName = "CanteenOrderDetail", TableDescription = "订单明细表")] public class CanteenOrderDetailEntity : SugarBaseEntity, ISoftDeleted, ITenantId { /// /// 订单号 /// [SugarColumn(ColumnDescription = "订单号")] public string OrderNo { get; set; } /// /// 菜单日期 /// [SugarColumn(ColumnDescription = "订餐日期")] public DateTime BookingDate { get; set; } /// /// 菜品编码 /// [SugarColumn(ColumnDescription = "菜品编码")] public string DishesCode { get; set; } /// /// 单价 /// [SugarColumn(ColumnDescription = "单价")] public decimal Price { get; set; } /// /// 数量 /// [SugarColumn(ColumnDescription = "数量")] public int Number { get; set; } /// /// 单位 /// [SugarColumn(ColumnDescription = "单位")] public string Unit { get; set; } public string TenantId { get; set; } [SugarColumn(ColumnDataType = "bit")] public bool IsDeleted { get; set; } }