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
    {
        /// 
        /// 巷道号
        /// 
        [PropertyValidate("巷道号", NotNullAndEmpty = true)]
        public string Roadway { get; set; }
        /// 
        /// 行
        /// 
        [PropertyValidate("行", MinValue = 0, IsContainMinValue = false)]
        public int MaxRow { get; set; }
        /// 
        /// 列
        /// 
        [PropertyValidate("列", MinValue = 0, IsContainMinValue = false)]
        public int MaxColumn { get; set; }
        /// 
        /// 层
        /// 
        [PropertyValidate("层", MinValue = 0, IsContainMinValue = false)]
        public int MaxLayer { get; set; }
        /// 
        /// 是否单深货位
        /// 
        [PropertyValidate("是否单深货位", NotNullAndEmpty = true)]
        public bool IsSingleDepth { get; set; }
        /// 
        /// 一深行号
        /// 
        [PropertyValidate("一深行号", NotNullAndEmptyWithPropertyAndValue = new string[] { nameof(IsSingleDepth), "false" })]
        public List FirstDepthRows { get; set; }
    }
}