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 { /// /// 巷道号 /// [PropertyValidate("巷道号", NotNullAndEmpty = true)] public string Roadway { get; set; } /// /// 行 /// [PropertyValidate("行", MinValue = 1, IsContainMinValue = false)] public int MaxRow { get; set; } /// /// 列 /// [PropertyValidate("列", MinValue = 1, IsContainMinValue = false)] public int MaxColumn { get; set; } /// /// 层 /// [PropertyValidate("层", MinValue = 1, IsContainMinValue = false)] public int MaxLayer { get; set; } /// /// 是否单深货位 /// [PropertyValidate("深度", MinValue = 1, NotNullAndEmpty = true)] public int Depth { get; set; } } }