| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using System.Text; | 
| using System.Threading.Tasks; | 
| using WIDESEA_Core.Attributes; | 
|   | 
| namespace WIDESEA_DTO.MES | 
| { | 
|     /// <summary> | 
|     /// 返工提库 | 
|     /// </summary> | 
|     [ModelValidate] | 
|     public class RworkTaskModel | 
|     { | 
|         /// <summary> | 
|         /// 任务单号 | 
|         /// </summary> | 
|         [PropertyValidate("任务单号", NotNullAndEmpty = true)] | 
|         public string TaskNo {  get; set; } | 
|         /// <summary> | 
|         /// 产品编码 | 
|         /// </summary> | 
|         [PropertyValidate("产品编码", NotNullAndEmpty = true)] | 
|         public string ProductCode { get; set; } | 
|         /// <summary> | 
|         /// 产品名称 | 
|         /// </summary> | 
|         [PropertyValidate("产品名称", NotNullAndEmpty = true)] | 
|         public string ProductName { get; set; } | 
|         /// <summary> | 
|         /// 产品版本 | 
|         /// </summary> | 
|         [PropertyValidate("产品版本", NotNullAndEmpty = true)] | 
|         public string ProductVersion { get; set; } | 
|         /// <summary> | 
|         /// 周期 | 
|         /// </summary> | 
|         [PropertyValidate("周期", NotNullAndEmpty = true)] | 
|         public string DateCode { get; set; } | 
|         /// <summary> | 
|         /// 需求数量 | 
|         /// </summary> | 
|         [PropertyValidate("需求数量", NotNullAndEmpty = true)] | 
|         public float RequiredQuantity { get; set; } | 
|         /// <summary> | 
|         /// 工厂 | 
|         /// </summary> | 
|         public string FactoryCode { get; set; } | 
|         /// <summary> | 
|         /// 销售订单 | 
|         /// </summary> | 
|         [PropertyValidate("销售订单", NotNullAndEmpty = true)] | 
|         public string SaleOrder { get; set; } | 
|         /// <summary> | 
|         /// 库存类型 | 
|         /// 1:客退<br/> | 
|         /// 2:库存不良<br/> | 
|         /// 3:余数提仓<br/> | 
|         /// </summary> | 
|         [PropertyValidate("库存类型", NotNullAndEmpty = true, Check = new object[] { 1, 2,3 })] | 
|         public int InventoryType { get; set; } | 
|     } | 
| } |