| 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 TestToolOutModel | 
|     { | 
|         /// <summary> | 
|         /// 测试架批次号 | 
|         /// </summary> | 
|         [PropertyValidate("测试架批次号", NotNullAndEmpty = true)] | 
|         public string ToolCode { get; set; } | 
|         /// <summary> | 
|         /// 目标地址码 | 
|         /// </summary> | 
|         [PropertyValidate("目标地址码", NotNullAndEmpty = true)] | 
|         public string TargetAddressCode { get; set; } | 
|     } | 
|   | 
|     /// <summary> | 
|     /// 测试架报废模型 | 
|     /// </summary> | 
|     [ModelValidate] | 
|     public class TestToolScrap | 
|     { | 
|         /// <summary> | 
|         /// 测试架批次号 | 
|         /// </summary> | 
|         [PropertyValidate("测试架批次号", NotNullAndEmpty = true)] | 
|         public List<string> ToolCodes { get; set; } | 
|     } | 
|   | 
|     /// <summary> | 
|     /// 测试架退库 | 
|     /// </summary> | 
|     [ModelValidate] | 
|     public class TestToolBackModel | 
|     { | 
|         /// <summary> | 
|         /// 源位置 | 
|         /// </summary> | 
|         [PropertyValidate("源位置", NotNullAndEmpty = true)] | 
|         public string SourceAddressCode { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 测试架批次号 | 
|         /// </summary> | 
|         [PropertyValidate("测试架批次号", NotNullAndEmpty = true)] | 
|         public string TestToolCode { get; set; } | 
|     } | 
|   | 
|     /// <summary> | 
|     ///测试架同步 | 
|     /// </summary> | 
|     public class TestToolSynInfo | 
|     { | 
|         /// <summary> | 
|         /// 测试架批次号 | 
|         /// </summary> | 
|         public string ToolCode { get; set; } | 
|         ///// <summary> | 
|         ///// 测试架物料名称 | 
|         ///// </summary> | 
|         public string MaterialName { get; set; } | 
|         /// <summary> | 
|         /// 初始寿命 | 
|         /// </summary> | 
|         public int Life { get; set; } | 
|   | 
|     } | 
| } |