|  |  |  | 
|---|
|  |  |  | 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> | 
|---|
|  |  |  | /// éæ±æ°é | 
|---|
|  |  |  | /// éæ±PCSæ°é | 
|---|
|  |  |  | /// </summary> | 
|---|
|  |  |  | [PropertyValidate("éæ±æ°é", NotNullAndEmpty = true)] | 
|---|
|  |  |  | public float RequiredQuantity { get; set; } | 
|---|
|  |  |  | /// <summary> | 
|---|
|  |  |  | /// éæ±SETæ°é | 
|---|
|  |  |  | /// </summary> | 
|---|
|  |  |  | public float RequiredSetCount { get; set; } | 
|---|
|  |  |  | /// <summary> | 
|---|
|  |  |  | /// ä»åº | 
|---|
|  |  |  | /// </summary> | 
|---|
|  |  |  | public string WarehouseCode { get; set; } | 
|---|
|  |  |  | /// <summary> | 
|---|
|  |  |  | ///ʌᴌ | 
|---|
|  |  |  | /// </summary> | 
|---|
|  |  |  | public string FactoryCode { get; set; } | 
|---|
|  |  |  | public string FactoryCode { get; set; } = "HA02"; | 
|---|
|  |  |  | /// <summary> | 
|---|
|  |  |  | /// æ¥æ¶ | 
|---|
|  |  |  | /// </summary> | 
|---|
|  |  |  | public int ReceiveDown { 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; } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|