|
|
@@ -21,19 +21,19 @@ public class UserRelate {
|
|
21
|
21
|
private Integer pid;
|
|
22
|
22
|
|
|
23
|
23
|
/** 删除标记:0否1是*/
|
|
24
|
|
- private Integer delFlag;
|
|
|
24
|
+ private Integer del_flag;
|
|
25
|
25
|
|
|
26
|
26
|
/** 大仓会员:0否1是*/
|
|
27
|
|
- private Integer isDacang;
|
|
|
27
|
+ private Integer is_dacang = 0;
|
|
28
|
28
|
|
|
29
|
29
|
/** 商家:0否1是*/
|
|
30
|
|
- private Integer isMerchant;
|
|
|
30
|
+ private Integer is_merchant = 0;
|
|
31
|
31
|
|
|
32
|
32
|
/** 渠道商:0否1是*/
|
|
33
|
|
- private Integer isChannel;
|
|
|
33
|
+ private Integer is_channel = 0;
|
|
34
|
34
|
|
|
35
|
35
|
/** 代理商:0否1是*/
|
|
36
|
|
- private Integer isAgent;
|
|
|
36
|
+ private Integer is_agent = 0;
|
|
37
|
37
|
|
|
38
|
38
|
/** 日期*/
|
|
39
|
39
|
private LocalDate date;
|
|
|
@@ -62,44 +62,44 @@ public class UserRelate {
|
|
62
|
62
|
this.pid = pid;
|
|
63
|
63
|
}
|
|
64
|
64
|
|
|
65
|
|
- public Integer getDelFlag() {
|
|
66
|
|
- return delFlag;
|
|
|
65
|
+ public Integer getDel_flag() {
|
|
|
66
|
+ return del_flag;
|
|
67
|
67
|
}
|
|
68
|
68
|
|
|
69
|
|
- public void setDelFlag(Integer delFlag) {
|
|
70
|
|
- this.delFlag = delFlag;
|
|
|
69
|
+ public void setDel_flag(Integer del_flag) {
|
|
|
70
|
+ this.del_flag = del_flag;
|
|
71
|
71
|
}
|
|
72
|
72
|
|
|
73
|
|
- public Integer getIsDacang() {
|
|
74
|
|
- return isDacang;
|
|
|
73
|
+ public Integer getIs_dacang() {
|
|
|
74
|
+ return is_dacang;
|
|
75
|
75
|
}
|
|
76
|
76
|
|
|
77
|
|
- public void setIsDacang(Integer isDacang) {
|
|
78
|
|
- this.isDacang = isDacang;
|
|
|
77
|
+ public void setIs_dacang(Integer is_dacang) {
|
|
|
78
|
+ this.is_dacang = is_dacang;
|
|
79
|
79
|
}
|
|
80
|
80
|
|
|
81
|
|
- public Integer getIsMerchant() {
|
|
82
|
|
- return isMerchant;
|
|
|
81
|
+ public Integer getIs_merchant() {
|
|
|
82
|
+ return is_merchant;
|
|
83
|
83
|
}
|
|
84
|
84
|
|
|
85
|
|
- public void setIsMerchant(Integer isMerchant) {
|
|
86
|
|
- this.isMerchant = isMerchant;
|
|
|
85
|
+ public void setIs_merchant(Integer is_merchant) {
|
|
|
86
|
+ this.is_merchant = is_merchant;
|
|
87
|
87
|
}
|
|
88
|
88
|
|
|
89
|
|
- public Integer getIsChannel() {
|
|
90
|
|
- return isChannel;
|
|
|
89
|
+ public Integer getIs_channel() {
|
|
|
90
|
+ return is_channel;
|
|
91
|
91
|
}
|
|
92
|
92
|
|
|
93
|
|
- public void setIsChannel(Integer isChannel) {
|
|
94
|
|
- this.isChannel = isChannel;
|
|
|
93
|
+ public void setIs_channel(Integer is_channel) {
|
|
|
94
|
+ this.is_channel = is_channel;
|
|
95
|
95
|
}
|
|
96
|
96
|
|
|
97
|
|
- public Integer getIsAgent() {
|
|
98
|
|
- return isAgent;
|
|
|
97
|
+ public Integer getIs_agent() {
|
|
|
98
|
+ return is_agent;
|
|
99
|
99
|
}
|
|
100
|
100
|
|
|
101
|
|
- public void setIsAgent(Integer isAgent) {
|
|
102
|
|
- this.isAgent = isAgent;
|
|
|
101
|
+ public void setIs_agent(Integer is_agent) {
|
|
|
102
|
+ this.is_agent = is_agent;
|
|
103
|
103
|
}
|
|
104
|
104
|
|
|
105
|
105
|
public LocalDate getDate() {
|
|
|
@@ -109,82 +109,4 @@ public class UserRelate {
|
|
109
|
109
|
public void setDate(LocalDate date) {
|
|
110
|
110
|
this.date = date;
|
|
111
|
111
|
}
|
|
112
|
|
-
|
|
113
|
|
- public static final class UserRelateBuilder {
|
|
114
|
|
- private Integer id;
|
|
115
|
|
- private Integer uid;
|
|
116
|
|
- private Integer pid;
|
|
117
|
|
- private Integer delFlag;
|
|
118
|
|
- private Integer isDacang;
|
|
119
|
|
- private Integer isMerchant;
|
|
120
|
|
- private Integer isChannel;
|
|
121
|
|
- private Integer isAgent;
|
|
122
|
|
- private LocalDate date;
|
|
123
|
|
-
|
|
124
|
|
- private UserRelateBuilder() {
|
|
125
|
|
- }
|
|
126
|
|
-
|
|
127
|
|
- public static UserRelateBuilder anUserRelate() {
|
|
128
|
|
- return new UserRelateBuilder();
|
|
129
|
|
- }
|
|
130
|
|
-
|
|
131
|
|
- public UserRelateBuilder withId(Integer id) {
|
|
132
|
|
- this.id = id;
|
|
133
|
|
- return this;
|
|
134
|
|
- }
|
|
135
|
|
-
|
|
136
|
|
- public UserRelateBuilder withUid(Integer uid) {
|
|
137
|
|
- this.uid = uid;
|
|
138
|
|
- return this;
|
|
139
|
|
- }
|
|
140
|
|
-
|
|
141
|
|
- public UserRelateBuilder withPid(Integer pid) {
|
|
142
|
|
- this.pid = pid;
|
|
143
|
|
- return this;
|
|
144
|
|
- }
|
|
145
|
|
-
|
|
146
|
|
- public UserRelateBuilder withDelFlag(Integer delFlag) {
|
|
147
|
|
- this.delFlag = delFlag;
|
|
148
|
|
- return this;
|
|
149
|
|
- }
|
|
150
|
|
-
|
|
151
|
|
- public UserRelateBuilder withIsDacang(Integer isDacang) {
|
|
152
|
|
- this.isDacang = isDacang;
|
|
153
|
|
- return this;
|
|
154
|
|
- }
|
|
155
|
|
-
|
|
156
|
|
- public UserRelateBuilder withIsMerchant(Integer isMerchant) {
|
|
157
|
|
- this.isMerchant = isMerchant;
|
|
158
|
|
- return this;
|
|
159
|
|
- }
|
|
160
|
|
-
|
|
161
|
|
- public UserRelateBuilder withIsChannel(Integer isChannel) {
|
|
162
|
|
- this.isChannel = isChannel;
|
|
163
|
|
- return this;
|
|
164
|
|
- }
|
|
165
|
|
-
|
|
166
|
|
- public UserRelateBuilder withIsAgent(Integer isAgent) {
|
|
167
|
|
- this.isAgent = isAgent;
|
|
168
|
|
- return this;
|
|
169
|
|
- }
|
|
170
|
|
-
|
|
171
|
|
- public UserRelateBuilder withDate(LocalDate date) {
|
|
172
|
|
- this.date = date;
|
|
173
|
|
- return this;
|
|
174
|
|
- }
|
|
175
|
|
-
|
|
176
|
|
- public UserRelate build() {
|
|
177
|
|
- UserRelate userRelate = new UserRelate();
|
|
178
|
|
- userRelate.setId(id);
|
|
179
|
|
- userRelate.setUid(uid);
|
|
180
|
|
- userRelate.setPid(pid);
|
|
181
|
|
- userRelate.setDelFlag(delFlag);
|
|
182
|
|
- userRelate.setIsDacang(isDacang);
|
|
183
|
|
- userRelate.setIsMerchant(isMerchant);
|
|
184
|
|
- userRelate.setIsChannel(isChannel);
|
|
185
|
|
- userRelate.setIsAgent(isAgent);
|
|
186
|
|
- userRelate.setDate(date);
|
|
187
|
|
- return userRelate;
|
|
188
|
|
- }
|
|
189
|
|
- }
|
|
190
|
112
|
}
|