| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using System.Text; | 
| using System.Threading.Tasks; | 
| using WIDESEA_Core.Attributes; | 
|   | 
| namespace WIDESEA_DTO.Outbound | 
| { | 
|     /// <summary> | 
|     /// 成品报废单新增 | 
|     /// </summary> | 
|     [ModelValidate] | 
|     public class ErpProScrapSheetModel | 
|     { | 
|         // <summary> | 
|         /// 仓库Id | 
|         /// </summary> | 
|         [PropertyValidate("仓库Id", NotNullAndEmpty = true)] | 
|         public int WarehouseId { get; set; } | 
|         /// <summary> | 
|         /// 单据编号 | 
|         /// </summary> | 
|         [PropertyValidate("单据编号", NotNullAndEmpty = true)] | 
|         public string ProScrapSheetOrderNo { get; set; } | 
|         /// <summary> | 
|         /// 报废明细 | 
|         /// </summary> | 
|         [PropertyValidate("报废明细", NotNullAndEmpty = true)] | 
|         public List<ErpProScrapSheetDetailDTO> Details { get; set; } | 
|     } | 
|   | 
|     [ModelValidate] | 
|     public class ErpProScrapSheetDetailDTO | 
|     { | 
|         /// <summary> | 
|         /// 产品编码 | 
|         /// </summary> | 
|         [PropertyValidate("产品编码", NotNullAndEmpty = true)] | 
|         public string ScrapProCode { get; set; } | 
|         /// <summary> | 
|         /// 报废版本 | 
|         /// </summary> | 
|         [PropertyValidate("报废版本", NotNullAndEmpty = true)] | 
|         public string ScrapProVersion { get; set; } | 
|         /// <summary> | 
|         /// 批次号 | 
|         /// </summary> | 
|         [PropertyValidate("批次号", NotNullAndEmpty = true)] | 
|         public string ScrapProLotNo { get; set; } | 
|         /// <summary> | 
|         /// 报废SET数量 | 
|         /// </summary> | 
|         [PropertyValidate("报废SET数量", NotNullAndEmpty = true)] | 
|         public int ScrapSETQty { get; set; } | 
|         /// <summary> | 
|         /// 报废PCS数 | 
|         /// </summary> | 
|         [PropertyValidate("报废PCS数", NotNullAndEmpty = true)] | 
|         public int ScrapPcsQty { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 备注 | 
|         /// </summary> | 
|         [PropertyValidate("备注", NotNullAndEmpty = false)] | 
|         public string Remark { get; set; } | 
|     } | 
|      | 
| } |