| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using System.Text; | 
| using System.Threading.Tasks; | 
| using WIDESEA_Core.Attributes; | 
|   | 
| namespace WIDESEA_DTO.Basic | 
| { | 
|     [ModelValidate] | 
|     public class InitializationLocationDTO | 
|     { | 
|         /// <summary> | 
|         /// 巷道号 | 
|         /// </summary> | 
|         [PropertyValidate("巷道号", NotNullAndEmpty = true)] | 
|         public string Roadway { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 行 | 
|         /// </summary> | 
|         [PropertyValidate("行", MinValue = 1, IsContainMinValue = false)] | 
|         public int MaxRow { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 列 | 
|         /// </summary> | 
|         [PropertyValidate("列", MinValue = 1, IsContainMinValue = false)] | 
|         public int MaxColumn { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 层 | 
|         /// </summary> | 
|         [PropertyValidate("层", MinValue = 1, IsContainMinValue = false)] | 
|         public int MaxLayer { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 是否单深货位 | 
|         /// </summary> | 
|         [PropertyValidate("深度", MinValue = 1, NotNullAndEmpty = true, IsContainMinValue = true)] | 
|         public int Depth { get; set; } | 
|     } | 
| } |