1
hutongqing
2024-12-28 eee43c4cb7f9018688cd6da6a3611512f3e5c5c3
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
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; }
    }
}