11
yanjinhui
2025-04-30 752223f279965b562e3d086b78f01efb55925ae4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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; }
    }
}