using System; 
 | 
using System.Collections.Generic; 
 | 
using System.Linq; 
 | 
using System.Text; 
 | 
using System.Threading.Tasks; 
 | 
using WIDESEAWCS_Core.Attributes; 
 | 
  
 | 
namespace WIDESEAWCS_DTO.BasicInfo 
 | 
{ 
 | 
    [ModelValidate] 
 | 
    public class InitializationLocationDTO 
 | 
    { 
 | 
        /// <summary> 
 | 
        /// 巷道号 
 | 
        /// </summary> 
 | 
        [PropertyValidate("巷道号", NotNullAndEmpty = true)] 
 | 
        public string Roadway { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 行 
 | 
        /// </summary> 
 | 
        [PropertyValidate("行", MinValue = 0, IsContainMinValue = false)] 
 | 
        public int MaxRow { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 列 
 | 
        /// </summary> 
 | 
        [PropertyValidate("列", MinValue = 0, IsContainMinValue = false)] 
 | 
        public int MaxColumn { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 层 
 | 
        /// </summary> 
 | 
        [PropertyValidate("层", MinValue = 0, IsContainMinValue = false)] 
 | 
        public int MaxLayer { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 是否单深货位 
 | 
        /// </summary> 
 | 
        [PropertyValidate("是否单深货位", NotNullAndEmpty = true)] 
 | 
        public bool IsSingleDepth { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 一深行号 
 | 
        /// </summary> 
 | 
        [PropertyValidate("一深行号", NotNullAndEmptyWithPropertyAndValue = new string[] { nameof(IsSingleDepth), "false" })] 
 | 
        public List<int> FirstDepthRows { get; set; } 
 | 
    } 
 | 
} 
 |