liuying
2024-11-28 6c5a7bd1a9342d8e6792773aef3d62588a60714d
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
using Admin.NET.Application;
using Admin.NET.Core;
 
/*
 * @author : 刘文奇
 * @date : 2024/5/10下午1:42:36
 * @desc : 库位表
 */
namespace Admin.NET.Application.Entity
{
    /// <summary>
    /// 库位表
    /// </summary>
    [SugarTable("test_place", "测试库位表")]
    public class TestPlace : EntityBase
    {
 
 
        /// <summary>
        /// 库位编码
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "PlaceCode", ColumnDescription = "库位编码", Length = 50)]
 
        public string PlaceCode { get; set; }
 
 
        /// <summary>
        /// 库位名称
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "PlaceName", ColumnDescription = "库位名称", Length = 50)]
 
        public string PlaceName { get; set; }
 
 
        /// <summary>
        /// 库位别名
        /// </summary>
        [SugarColumn(ColumnName = "PlaceAlias", ColumnDescription = "库位别名", Length = 50)]
 
        public string? PlaceAlias { get; set; }
 
 
        /// <summary>
        /// 库位类型
        /// </summary>
        [Required]
 
        [SugarColumn(ColumnName = "PlaceType", ColumnDescription = "库位类型")]
        public PlaceTypeEnum PlaceType { get; set; }
 
 
        /// <summary>
        /// 库位类型名称
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "PlaceTypeName", ColumnDescription = "库位类型名称", Length = 50)]
 
        public string PlaceTypeName { get; set; }
 
 
        /// <summary>
        /// 存放单位
        /// </summary>
        [SugarColumn(ColumnName = "StockUnit", ColumnDescription = "存放单位", Length = 50)]
 
        public string? StockUnit { get; set; }
 
 
        /// <summary>
        /// 库位属性
        /// </summary>
        [Required]
 
        [SugarColumn(ColumnName = "PlaceStatus", ColumnDescription = "库位属性")]
        public PlaceStatusEnum PlaceStatus { get; set; }
 
 
        /// <summary>
        /// 是否激活与任务调度
        /// </summary>
 
        [SugarColumn(ColumnName = "IsActivateWCS", ColumnDescription = "是否激活与任务调度")]
        public bool? IsActivateWCS { get; set; }
 
 
        /// <summary>
        /// 库存环境
        /// </summary>
        [SugarColumn(ColumnName = "Environment", ColumnDescription = "库存环境", Length = 255)]
 
        public string? Environment { get; set; }
 
 
        /// <summary>
        /// 库区编号
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "AreaCode", ColumnDescription = "库区编号", Length = 50)]
 
        public string AreaCode { get; set; }
 
 
        /// <summary>
        /// 所在库区
        /// </summary>
        [Required]
 
        [SugarColumn(ColumnName = "AreaId", ColumnDescription = "所在库区")]
        public long AreaId { get; set; }
 
 
        /// <summary>
        /// 库区名称
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "AreaName", ColumnDescription = "库区名称", Length = 50)]
 
        public string AreaName { get; set; }
 
 
        /// <summary>
        /// 检验码
        /// </summary>
        [SugarColumn(ColumnName = "VerificationCode", ColumnDescription = "检验码", Length = 255)]
 
        public string? VerificationCode { get; set; }
 
 
        /// <summary>
        /// 排
        /// </summary>
        [Required]
 
        [SugarColumn(ColumnName = "RowNo", ColumnDescription = "排")]
        public int RowNo { get; set; }
 
 
        /// <summary>
        /// 列
        /// </summary>
        [Required]
 
        [SugarColumn(ColumnName = "ColumnNo", ColumnDescription = "列")]
        public int ColumnNo { get; set; }
 
 
        /// <summary>
        /// 层
        /// </summary>
        [Required]
 
        [SugarColumn(ColumnName = "LayerNo", ColumnDescription = "层")]
        public int LayerNo { get; set; }
 
 
        /// <summary>
        /// 巷道
        /// </summary>
        [Required]
 
        [SugarColumn(ColumnName = "LaneNo", ColumnDescription = "巷道")]
        public int LaneNo { get; set; }
 
 
        /// <summary>
        /// 库位X坐标
        /// </summary>
        [SugarColumn(ColumnName = "Xzb", ColumnDescription = "库位X坐标", Length = 255)]
 
        public string? Xzb { get; set; }
 
 
        /// <summary>
        /// 库位Y坐标
        /// </summary>
        [SugarColumn(ColumnName = "Yzb", ColumnDescription = "库位Y坐标", Length = 255)]
 
        public string? Yzb { get; set; }
 
 
        /// <summary>
        /// 库位Z坐标
        /// </summary>
        [SugarColumn(ColumnName = "Zzb", ColumnDescription = "库位Z坐标", Length = 255)]
 
        public string? Zzb { get; set; }
 
 
        /// <summary>
        /// 库位长度
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "Length", ColumnDescription = "库位长度", Length = 10, DecimalDigits = 3)]
        public decimal Length { get; set; }
 
 
        /// <summary>
        /// 库位宽度
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "Width", ColumnDescription = "库位宽度", Length = 10, DecimalDigits = 3)]
        public decimal Width { get; set; }
 
 
        /// <summary>
        /// 库位高度
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "Height", ColumnDescription = "库位高度", Length = 10, DecimalDigits = 3)]
        public decimal Height { get; set; }
 
 
        /// <summary>
        /// 最大承重
        /// </summary>
        [Required]
        [SugarColumn(ColumnName = "MaxWeight", ColumnDescription = "最大承重", Length = 10, DecimalDigits = 3)]
        public decimal MaxWeight { get; set; }
 
 
        /// <summary>
        /// 上架顺序
        /// </summary>
 
        [SugarColumn(ColumnName = "InSequence", ColumnDescription = "上架顺序")]
        public int? InSequence { get; set; }
 
 
        /// <summary>
        /// 下架顺序
        /// </summary>
 
        [SugarColumn(ColumnName = "OutSequence", ColumnDescription = "下架顺序")]
        public int? OutSequence { get; set; }
 
 
        /// <summary>
        /// 是否虚拟
        /// </summary>
 
        [SugarColumn(ColumnName = "IsVirtually", ColumnDescription = "是否虚拟")]
        public bool? IsVirtually { get; set; }
 
 
        /// <summary>
        /// 是否禁用
        /// </summary>
        [Required]
 
        [SugarColumn(ColumnName = "IsDisabled", ColumnDescription = "是否禁用")]
        public bool IsDisabled { get; set; }
 
 
 
 
 
 
 
 
 
    }
}