MerchantSaveRequest.java
5.23 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
package cn.com.glsx.merchants.request.merchant;
import cn.com.glsx.merchants.model.request.MerchantBrandRequest;
import cn.com.glsx.merchants.request.DefaultRequest;
import cn.com.glsx.merchants.request.file.FileSaveRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
@Data
public class MerchantSaveRequest extends DefaultRequest implements Serializable {
/**
* 商户名称
*/
@ApiModelProperty(notes = "商户名称", required = true)
private String merchantName;
/**
* 商户简称
*/
@ApiModelProperty(notes = "商户简称")
private String merchantAbbreviation;
/**
* 1.个体户 2.企业
*/
@ApiModelProperty(notes = "1.个体户 2.企业")
private Byte merchantType;
/**
* 组织机构代码
*/
@ApiModelProperty(notes = "组织机构代码")
private String merchantOrgcode;
/**
* 商户地址
*/
@ApiModelProperty(notes = "商户地址")
private String merchantAddress;
/**
* 法定联系人
*/
@ApiModelProperty(notes = "法定联系人")
private String merchantLegalPerson;
/**
* 联系电话
*/
@ApiModelProperty(notes = "联系电话", required = true)
private String merchantLegalPersonPhone;
/**
* 电话是否可作为登录名
*/
@ApiModelProperty(notes = "电话是否可作为登录名(1.是 0.否)", required = true)
private Byte isloginName;
/**
* 营业范围
*/
@ApiModelProperty(notes = "营业范围", required = true)
private String businessScope;
/**
* 自定义营业范围
*/
@ApiModelProperty(notes = "自定义营业范围")
private String businessScopeCustomize;
/**
* 品牌
*/
@ApiModelProperty(notes = "品牌", required = true)
private String merchantBrand;
/**
* 登录账户
*/
@ApiModelProperty(notes = "登录账户", required = true)
private String merchantLoginAccount;
/**
* 登录密码
*/
@ApiModelProperty(notes = "登录密码", required = true)
private String merchantLoginPassword;
/**
* 1.工厂 2.省代 3.市代 4.门店
*/
@ApiModelProperty(notes = "1.工厂 2.省代 3.市代 4.门店", required = true)
private Integer merchantAccountLevel;
@ApiModelProperty(notes = "父商户id")
private Integer parentId;
/**
* 渠道id
*/
@ApiModelProperty(notes = "渠道id", required = true)
private Integer channelId;
/**
* 驻点联系人
*/
@ApiModelProperty(notes = "驻点联系人")
private String residentContact;
/**
* 驻点联系电话
*/
@ApiModelProperty(notes = "驻点联系电话")
private String residentPhone;
/**
* 过期时间
*/
@ApiModelProperty(notes = "过期时间")
private Integer effectiveTime;
/**
* 区域
*/
@ApiModelProperty(notes = "区域")
private Byte areaCode;
/**
* 营业开始时间
*/
@ApiModelProperty(notes = "营业开始时间")
private String bussinessBegintime;
/**
* 营业结束时间
*/
@ApiModelProperty(notes = "营业结束时间")
private String bussinessEndtime;
/**
* 经度
*/
@ApiModelProperty(notes = "经度")
private Float lng;
/**
* 纬度
*/
@ApiModelProperty(notes = "纬度")
private Float lat;
/**
* 1.草稿 2.发布 3.注销 4.过期
*/
@ApiModelProperty(notes = "保存状态 1.草稿 2.发布 3.注销 4.过期", required = true)
private Byte status;
/**
* 账户类型
*/
@ApiModelProperty(notes = "账户类型", required = true)
private List<Integer> accounttypeId;
/**
* 文件数据
*/
@ApiModelProperty(notes = "文件数据")
private String merchantFiles;
/**
* 门店模式
*/
@ApiModelProperty(notes = "门店模式", required = true)
private Integer merchantModel;
/**
* 商户有效开始时间
*/
@ApiModelProperty(notes = "商户有效开始时间")
private Date effectiveStarttime;
/**
* 商户过期时间
*/
@ApiModelProperty(notes = "商户过期时间")
private Date expireDate;
@ApiModelProperty(notes = "sapCode")
private String sapCode;
@ApiModelProperty(notes = "经营业务类型, 多个时','分割")
private String businessType;
@ApiModelProperty(notes = "主营品牌Obj, json")
private String merchantBrandListJson;
@ApiModelProperty(notes = "省编码")
private String provinceCode;
@ApiModelProperty(notes = "省名称")
private String provinceName;
@ApiModelProperty(notes = "市编码")
private String cityCode;
@ApiModelProperty(notes = "市名称")
private String cityName;
@ApiModelProperty(notes = "创建来源 1:账户中心 2:SCRM 3:生意助手 4:门店助手")
private Integer createdSource;
}