| | |
| | | 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> |
| | | /// éå®è®¢å |
| | | /// </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; } |
| | | } |
| | | } |