MerchantRopResponse.java
11.8 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
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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
package cn.com.glsx.merchants.response;
import cn.com.glsx.merchants.dto.MerchantBrandDTO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.util.List;
@Data
@ApiModel(description = "商户")
public class MerchantRopResponse {
@ApiModelProperty(name = "id", notes = "商户id", dataType = "Integer", required = true, example = "1", value = "商户id")
private Integer id;
/**
* 商户名称
*/
@ApiModelProperty(name = "id", notes = "商户名称", dataType = "String", required = true, example = "1", value = "商户id")
private String merchantName;
/**
* 营业范围
*/
@ApiModelProperty(name = "businessScope", notes = "营业范围", dataType = "String", required = true, example = "1", value = "商户id")
private String businessScope;
/**
* 品牌
*/
@ApiModelProperty(name = "merchantBrand", notes = "品牌", dataType = "String", required = true, example = "1", value = "商户id")
private String merchantBrand;
/**
* 商户简称
*/
@ApiModelProperty(name = "merchantAbbreviation", notes = "商户简称", dataType = "String", required = true, example = "1", value = "商户简称")
private String merchantAbbreviation;
/**
* 1.个体户 2.企业
*/
@ApiModelProperty(name = "merchantType", notes = "1.个体户 2.企业", dataType = "Integer", required = true, example = "1")
private Byte merchantType;
/**
* 组织机构代码
*/
@ApiModelProperty(name = "merchantOrgcode", notes = "组织机构代码", dataType = "String", required = true, example = "1")
private String merchantOrgcode;
/**
* 商户地址
*/
@ApiModelProperty(name = "merchantAddress", notes = "商户地址", dataType = "String", required = true, example = "1")
private String merchantAddress;
/**
* 法定联系人
*/
@ApiModelProperty(name = "merchantLegalPerson", notes = "法定联系人", dataType = "String", required = true, example = "1")
private String merchantLegalPerson;
/**
* 联系电话
*/
@ApiModelProperty(name = "merchantLegalPersonPhone", notes = "联系电话", dataType = "String", required = true, example = "1")
private String merchantLegalPersonPhone;
/**
* 电话是否可作为登录名
*/
@ApiModelProperty(name = "isloginName", notes = "电话是否可作为登录名", dataType = "Integer", required = true, example = "1")
private Byte isloginName;
/**
* 登录账户
*/
@ApiModelProperty(name = "merchantLoginAccount", notes = "登录账户", dataType = "String", required = true, example = "1")
private String merchantLoginAccount;
/**
* 1.工厂 2.省代 3.市代 4.门店
*/
@ApiModelProperty(name = "merchantAccountLevel", notes = "账户层级", dataType = "Integer", required = true, example = "1")
private Byte merchantAccountLevel;
/**
* 创建人
*/
@ApiModelProperty(name = "createdBy", notes = "创建人", dataType = "Integer", required = true, example = "1")
private Integer createdBy;
/**
* 创建时间
*/
@ApiModelProperty(name = "createdTime", notes = "创建时间", dataType = "date")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdTime;
/**
* 更新时间
*/
@ApiModelProperty(name = "updatedTime", notes = "更新时间", dataType = "date")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedTime;
/**
* 渠道id
*/
@ApiModelProperty(name = "channelId", notes = "渠道id", dataType = "Integer", required = true, example = "1")
private Integer channelId;
/**
* 驻点联系人
*/
@ApiModelProperty(name = "residentContact", notes = "驻点联系人", dataType = "String", required = true, example = "1")
private String residentContact;
/**
* 驻点联系电话
*/
@ApiModelProperty(name = "residentPhone", notes = "驻点联系电话", dataType = "String", required = true, example = "1")
private String residentPhone;
/**
* 密码
*/
@ApiModelProperty(name = "merchantLoginPassword", notes = "密码", dataType = "String", required = true, example = "1")
private String merchantLoginPassword;
/**
* 区域
*/
@ApiModelProperty(name = "areaCode", notes = "区域", dataType = "Integer", required = true, example = "1")
private Byte areaCode;
/**
* 营业开始时间
*/
@ApiModelProperty(name = "bussinessBegintime", notes = "营业开始时间", dataType = "Date", required = true, example = "1")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private String bussinessBegintime;
/**
* 营业结束时间
*/
@ApiModelProperty(name = "bussinessEndtime", notes = "营业结束时间", dataType = "Date", required = true, example = "1")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private String bussinessEndtime;
/**
* 商户过期时间
*/
@ApiModelProperty(name = "expireDate", notes = "商户过期时间", dataType = "Date", required = true, example = "1")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date expireDate;
/**
* 1.草稿 2.发布 3.注销 4.过期
*/
@ApiModelProperty(name = "status", notes = "商户状态", dataType = "Integer", required = true, example = "1")
private Byte status;
/**
* 渠道名称
*/
@ApiModelProperty(name = "accountTypeNames", notes = "渠道名称", dataType = "String", required = true, example = "1")
private String accountTypeNames;
/**
* 账户类型id
*/
@ApiModelProperty(name = "accountType", notes = "账户类型id", dataType = "String", required = true, example = "1")
private String accountType;
/**
* 父商户
*/
@ApiModelProperty(name = "parentMerchant", notes = "父商户", dataType = "String", required = true, example = "1")
private String parentMerchant;
/**
* 商户号
*/
@ApiModelProperty(name = "merchantNo", notes = "商户号", dataType = "Integer", required = true, example = "1")
private Integer merchantNo;
/**
* 父id
*/
@ApiModelProperty(name = "parentId", notes = "父id", dataType = "Integer", required = true, example = "1")
private Integer parentId;
/**
* 账户层级
*/
@ApiModelProperty(name = "accountLevelName", notes = "账户层级", dataType = "String", required = true, example = "1")
private String accountLevelName;
/**
* 账户状态
*/
@ApiModelProperty(name = "statusName", notes = "账户状态", dataType = "String", required = true, example = "1")
private String statusName;
/**
* 营业范围
*/
@ApiModelProperty(name = "businessScopName", notes = "营业范围", dataType = "String", required = true, example = "1")
private String businessScopName;
/**
* 品牌
*/
@ApiModelProperty(name = "merchantBrandName", notes = "品牌", dataType = "String", required = true, example = "1")
private String merchantBrandName;
/**
* 企业类型
*/
@ApiModelProperty(name = "merchantTypeName", notes = "品牌", dataType = "String", required = true, example = "1")
private String merchantTypeName;
/**
* 自定义营业范围
*/
@ApiModelProperty(name = "businessScopeCustomize", notes = "自定义营业范围", dataType = "String", required = true, example = "1")
private String businessScopeCustomize;
/**
* 有效期
*/
@ApiModelProperty(name = "effectiveTimeName", notes = "有效期", dataType = "String", required = true, example = "1")
private String effectiveTimeName;
/**
* 渠道名称
*/
@ApiModelProperty(name = "channelName", notes = "渠道名称", dataType = "String", required = true, example = "1")
private String channelName;
/**
* 商户地址全部
*/
@ApiModelProperty(name = "merchantFullAddress", notes = "商户地址全部", dataType = "String", required = true, example = "1")
private String merchantFullAddress;
/**
* 有效时间
*/
@ApiModelProperty(name = "effectiveTime", notes = "有效时间", dataType = "Integer", required = true, example = "1")
private Integer effectiveTime;
/**
* 门店数量
*/
@ApiModelProperty(name = "numberOfStores", notes = "门店数量", dataType = "Integer", required = true, example = "1")
private Long numberOfStores;
/**
* 子商户数量
*/
@ApiModelProperty(name = "numberOfSubMerchants", notes = "子商户数量", dataType = "Integer", required = true, example = "1")
private Long numberOfSubMerchants;
/**
* 经度
*/
private Float lng;
/**
* 纬度
*/
private Float lat;
/**
* 关联关系
*/
private List<AccountTypeTreeRopResponse> accountTypes;
/**
* 文件
*/
private List<FileResponse> merchantFileResponses;
/**
* 门店模式
*/
@ApiModelProperty(notes = "门店模式")
private Integer merchantModel;
/**
* 门店模式名称
*/
@ApiModelProperty(notes = "门店模式名称")
private String merchantModelName;
/**
* 企微id
*/
@ApiModelProperty(notes = "企微id")
private String entmicroId;
/**
* 企微号
*/
@ApiModelProperty(notes = "企微号")
private String entmicroName;
/**
* 1.广联 2.广汇
*/
@ApiModelProperty(notes = "1.广联 2.广汇")
private Integer channelType;
/**
* sapCode
*/
@ApiModelProperty(notes = "sap代码")
private String sapCode;
/**
* 商户有效开始时间
*/
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@ApiModelProperty(notes = "商户有效开始时间")
private Date effectiveStarttime;
/**
* 距离
*/
@ApiModelProperty(notes = "距离")
private double distance;
@ApiModelProperty(notes = "是否嘀加渠道")
private Boolean djBl;
@ApiModelProperty(notes = "接入模式: 0.自建应用模式,3.应用代开发模式")
private Integer accessMode;
@ApiModelProperty(notes = "接入模式")
private String accessModeName;
@ApiModelProperty(notes = "是否可编辑[接入模式], true, false")
private Boolean hasAccessMode;
@ApiModelProperty(notes = "主营品牌 一级")
private String merchantBrandCars;
@ApiModelProperty(notes = "主营品牌, 同一车系','分割, 不同车系';'分割")
private String merchantBrandMain;
@ApiModelProperty(notes = "经营业务类型, 多个时','分割")
private String businessType;
@ApiModelProperty(notes = "经营业务类型, 多个时','分割")
private String businessTypeName;
@ApiModelProperty(notes = "省编码")
private String provinceCode;
@ApiModelProperty(notes = "省名称")
private String provinceName;
@ApiModelProperty(notes = "市编码")
private String cityCode;
@ApiModelProperty(notes = "市名称")
private String cityName;
@ApiModelProperty(notes = "车品牌树状Obj")
private List<MerchantBrandDTO> brandTreeList;
@ApiModelProperty(notes = "创建来源")
private String createdSourceStr;
/**
* 创建人账号
*/
private String createdAccount;
}