SupplychainRoomUpdateRequest.java
4.6 KB
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
/**
* @(#)SupplychainRoomUpdateRequest.java
*
* Copyright (c) 2014-2014 苏州犀牛网络科技有限公司 版权所有
* xiniunet. All rights reserved.
*
* This software is the confidential and proprietary
* information of xiniunet.
* ("Confidential Information"). You shall not disclose
* such Confidential Information and shall use it only
* in accordance with the terms of the contract agreement
* you entered into with xiniunet.
*/
package com.xiniunet.lecunstomization.request;
import com.xiniunet.framework.base.BaseUpdateRequest;
import com.xiniunet.lecunstomization.domain.SupplychainRoomOwnerTypeEnum;
import com.xiniunet.lecunstomization.domain.SupplychainRoomTypeEnum;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotNull;
/**
* Created by 沈振家 on 2016-10-10 21:51:52.
*
* @author 沈振家
*/
public class SupplychainRoomUpdateRequest extends BaseUpdateRequest {
/**
* 主键
*/
@NotNull(message = "主键不能为空")
private Long id;
/**
* 供应链Id
*/
private Long supplychainNetworkId;
/**
* 店铺Id
*/
private Long storeId;
/**
* 店铺名称
*/
@Length(min = 0, max = 100, message = "店铺名称长度不合法")
private String storeName;
/**
* 经营单元Id
*/
private Long operatingUnitId;
/**
* 经营单元名称
*/
@Length(min = 0, max = 100, message = "经营单元名称长度不合法")
private String operatingUnitName;
/**
* 库房id
*/
private Long storeHouseId;
/**
* 仓库名称
*/
@Length(min = 0, max = 100, message = "仓库名称长度不合法")
private String storeHouseName;
/**
* 库房Id
*/
private Long storeRoomId;
/**
* 库房名称
*/
@Length(min = 0, max = 100, message = "库房名称长度不合法")
private String storeRoomName;
/**
* 库房类型
*/
@Length(min = 0, max = 100, message = "库房类型长度不合法")
private SupplychainRoomTypeEnum type;
/**
* 货物所属类型
*/
@Length(min = 0, max = 100, message = "货物所属类型长度不合法")
private SupplychainRoomOwnerTypeEnum ownerType;
/**
* 是否有效
*/
private Boolean isActive;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public Long getSupplychainNetworkId() {
return this.supplychainNetworkId;
}
public void setSupplychainNetworkId(Long supplychainNetworkId) {
this.supplychainNetworkId = supplychainNetworkId;
}
public Long getStoreId() {
return this.storeId;
}
public void setStoreId(Long storeId) {
this.storeId = storeId;
}
public String getStoreName() {
return this.storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
}
public Long getOperatingUnitId() {
return this.operatingUnitId;
}
public void setOperatingUnitId(Long operatingUnitId) {
this.operatingUnitId = operatingUnitId;
}
public String getOperatingUnitName() {
return this.operatingUnitName;
}
public void setOperatingUnitName(String operatingUnitName) {
this.operatingUnitName = operatingUnitName;
}
public Long getStoreHouseId() {
return this.storeHouseId;
}
public void setStoreHouseId(Long storeHouseId) {
this.storeHouseId = storeHouseId;
}
public String getStoreHouseName() {
return this.storeHouseName;
}
public void setStoreHouseName(String storeHouseName) {
this.storeHouseName = storeHouseName;
}
public Long getStoreRoomId() {
return this.storeRoomId;
}
public void setStoreRoomId(Long storeRoomId) {
this.storeRoomId = storeRoomId;
}
public String getStoreRoomName() {
return this.storeRoomName;
}
public void setStoreRoomName(String storeRoomName) {
this.storeRoomName = storeRoomName;
}
public SupplychainRoomTypeEnum getType() {
return type;
}
public void setType(SupplychainRoomTypeEnum type) {
this.type = type;
}
public SupplychainRoomOwnerTypeEnum getOwnerType() {
return ownerType;
}
public void setOwnerType(SupplychainRoomOwnerTypeEnum ownerType) {
this.ownerType = ownerType;
}
public Boolean getIsActive() {
return this.isActive;
}
public void setIsActive(Boolean isActive) {
this.isActive = isActive;
}
}