|  |  |  | 
|---|
|  |  |  | public class TestToolOutModel | 
|---|
|  |  |  | { | 
|---|
|  |  |  | /// <summary> | 
|---|
|  |  |  | /// æµæ¶ç¼ç  | 
|---|
|  |  |  | /// æµè¯æ¶æ¹æ¬¡å· | 
|---|
|  |  |  | /// </summary> | 
|---|
|  |  |  | [PropertyValidate("æµæ¶ç¼ç ", NotNullAndEmpty = true)] | 
|---|
|  |  |  | [PropertyValidate("æµè¯æ¶æ¹æ¬¡å·", NotNullAndEmpty = true)] | 
|---|
|  |  |  | public string ToolCode { get; set; } | 
|---|
|  |  |  | /// <summary> | 
|---|
|  |  |  | /// ç®æ å°åç  | 
|---|
|  |  |  | 
|---|
|  |  |  | /// æµè¯æ¶æ¥åºæ¨¡å | 
|---|
|  |  |  | /// </summary> | 
|---|
|  |  |  | [ModelValidate] | 
|---|
|  |  |  | public class TestToolScrapModel | 
|---|
|  |  |  | public class TestToolScrap | 
|---|
|  |  |  | { | 
|---|
|  |  |  | /// <summary> | 
|---|
|  |  |  | /// æµæ¶ç¼ç  | 
|---|
|  |  |  | /// æµè¯æ¶æ¹æ¬¡å· | 
|---|
|  |  |  | /// </summary> | 
|---|
|  |  |  | [PropertyValidate("æµæ¶ç¼ç ", NotNullAndEmpty = true)] | 
|---|
|  |  |  | public string ToolCode { get; set; } | 
|---|
|  |  |  | [PropertyValidate("æµè¯æ¶æ¹æ¬¡å·", NotNullAndEmpty = true)] | 
|---|
|  |  |  | public List<string> ToolCodes { get; set; } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /// <summary> | 
|---|
|  |  |  | /// æµè¯æ¶éåºæ¨¡å | 
|---|
|  |  |  | /// æµè¯æ¶éåº | 
|---|
|  |  |  | /// </summary> | 
|---|
|  |  |  | [ModelValidate] | 
|---|
|  |  |  | public class TestToolBackModel | 
|---|
|  |  |  | 
|---|
|  |  |  | public string SourceAddressCode { get; set; } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /// <summary> | 
|---|
|  |  |  | /// æµè¯æ¶ç¼ç  | 
|---|
|  |  |  | /// æµè¯æ¶æ¹æ¬¡å· | 
|---|
|  |  |  | /// </summary> | 
|---|
|  |  |  | [PropertyValidate("æµè¯æ¶ç¼ç ", NotNullAndEmpty = true)] | 
|---|
|  |  |  | [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; } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|