diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListDtoBase.cs index 7e809fcf..ce1e9d91 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListDtoBase.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListDtoBase.cs @@ -110,6 +110,14 @@ namespace Win.Sfs.SettleAccount.Entities.Prices [Display(Name = "合同号")] [ExporterHeader(DisplayName = "合同号")] public string ContractNo { get; set; } + /// + /// 是否作废 + /// + [Display(Name = "是否作废")] + [ExporterHeader(DisplayName = "是否已经停用")] + [ValueMapping("否", false)] + [ValueMapping("是", true)] + public bool IsCancel { get; set; } } /// @@ -269,48 +277,50 @@ namespace Win.Sfs.SettleAccount.Entities.Prices [Display(Name = "客户零件号")] [ExporterHeader(DisplayName = "客户零件号")] public string LU { get; set; } - /// /// 价格 /// [Display(Name = "价格")] [ExporterHeader(DisplayName = "价格")] public decimal Price { get; set; } - /// /// 开始时间 /// [Display(Name = "开始时间")] [ExporterHeader(DisplayName = "开始时间")] public DateTime BeginDate { set; get; } - /// /// 结束时间 /// [Display(Name = "结束时间")] [ExporterHeader(DisplayName = "结束时间")] public DateTime EndDate { set; get; } - /// /// 客户编码 /// [Display(Name = "客户编码")] [ExporterHeader(DisplayName = "客户编码")] public string ClientCode { get; set; } - /// /// 合同签订时间 /// [Display(Name = "合同签订时间")] [ExporterHeader(DisplayName = "合同签订时间")] public DateTime Date { get; set; } - /// /// 合同号 /// [Display(Name = "合同号")] [ExporterHeader(DisplayName = "合同号")] public string ContractNo { get; set; } + /// + /// 是否作废 + /// + [Display(Name = "是否作废")] + [ExporterHeader(DisplayName = "是否已经停用")] + [ValueMapping("否", false)] + [ValueMapping("是", true)] + public bool IsCancel { get; set; } } ///