using Dlhis.Entity.Canteen.Enums; using Kurisu.AspNetCore.Utils.Extensions; using Newtonsoft.Json; namespace Dlhis.Canteen.Order.Response; public class BalanceRecordDetailPageResponse { public long Id { get; set; } /// /// 流水号 /// public string No { get; set; } /// /// 档案号 /// public string UserNo { get; set; } /// /// 工号 /// public string UserCode { get; set; } /// /// 名称 /// public string UserName { get; set; } /// /// 部门名称 /// public string DepartmentName { get; set; } /// /// 成本日期 /// public DateTime CostDate { get; set; } /// /// 消费时间 /// public DateTime CostDateTime { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 消费金额 /// public string Amount => CurrentAmount.ToString("f2"); [JsonIgnore] public decimal CurrentAmount { get; set; } /// /// 餐次 /// public ShiftEnumType? ShiftType { get; set; } /// /// 餐次 /// public string ShiftTypeDesc => ShiftType?.GetDescription(); /// /// 营业点 /// public string BusinessPlaceName { get; set; } /// /// 扣款方式 /// public BalanceRecordSourceEnumType Source { get; set; } /// /// 扣款方式 /// public string SourceDesc => Source.GetDescription(); /// /// 厂区 /// public string Factory { get; set; } /// /// 人事范围 /// public string Werks { get; set; } }