提交 | 用户 | age
|
fcb7aa
|
1 |
package com.hz.his.vo.bi.revenue; |
C |
2 |
|
|
3 |
import com.fasterxml.jackson.annotation.JsonFormat; |
|
4 |
import com.gitee.sunchenbin.mybatis.actable.annotation.Column; |
|
5 |
import com.gitee.sunchenbin.mybatis.actable.annotation.Index; |
|
6 |
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant; |
|
7 |
import lombok.Data; |
|
8 |
import org.springframework.format.annotation.DateTimeFormat; |
|
9 |
|
|
10 |
import java.math.BigDecimal; |
|
11 |
import java.util.Date; |
|
12 |
|
|
13 |
/** |
|
14 |
*收入确认表查询 |
|
15 |
* @author CJH |
|
16 |
*/ |
|
17 |
@Data |
|
18 |
public class RevenueQuery{ |
|
19 |
|
|
20 |
/**其他查询*/ |
|
21 |
private String KeyWord; |
|
22 |
/**用户CIQ*/ |
|
23 |
private String CIQ; |
|
24 |
/**是否划扣*/ |
|
25 |
private Integer isDeduction; |
|
26 |
/**分类名称(同时搜索一级二级)*/ |
|
27 |
private String orderLevelTypeName; |
|
28 |
/**关联编号*/ |
|
29 |
private String associationNo; |
|
30 |
/**下单日期*/ |
|
31 |
private Date startOrderTime; |
|
32 |
/**下单日期*/ |
|
33 |
private Date endOrderTime; |
|
34 |
/**执行日期*/ |
|
35 |
private Date startDeductionTime; |
|
36 |
/**执行日期*/ |
|
37 |
private Date endDeductionTime; |
|
38 |
/**创建日期*/ |
|
39 |
private Date startCreateTime; |
|
40 |
/**创建日期*/ |
|
41 |
private Date endCreateTime; |
|
42 |
|
|
43 |
/**请求操作人*/ |
|
44 |
private String operatorId; |
|
45 |
/**请求操作人*/ |
|
46 |
private String operatorName; |
|
47 |
|
|
48 |
@Column(comment = "来源类型", length = 2, type = MySqlTypeConstant.INT, isNull = false) |
|
49 |
private Integer sourceType; |
|
50 |
@Column(comment = "来源类型名称", type = MySqlTypeConstant.VARCHAR, length = 10) |
|
51 |
private String sourceTypeName; |
|
52 |
@Index |
|
53 |
@Column(comment = "来源标识(根据来源类型存储标识)", type = MySqlTypeConstant.VARCHAR, length = 32, isNull = false) |
|
54 |
private String sourceId; |
|
55 |
@Column(comment = "来源编号(根据来源类型存储编号(例:单号、划扣号)", type = MySqlTypeConstant.VARCHAR, length = 64) |
|
56 |
private String sourceNo; |
|
57 |
@Index |
|
58 |
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
59 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|
60 |
@Column(comment = "来源业绩时间", type = MySqlTypeConstant.DATETIME, isNull = false) |
|
61 |
private Date sourceTime; |
|
62 |
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
63 |
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|
64 |
@Column(comment = "来源创建时间", type = MySqlTypeConstant.DATETIME, isNull = false) |
|
65 |
private Date sourceCreateTime; |
|
66 |
|
|
67 |
@Column(comment = "来源总标识(根据来源类型存储标识)", type = MySqlTypeConstant.VARCHAR, length = 32) |
|
68 |
private String sourceGeneralId; |
|
69 |
@Column(comment = "来源总编号(根据来源类型存储编号(例:单号、划扣号)", type = MySqlTypeConstant.VARCHAR, length = 64) |
|
70 |
private String sourceGeneralNo; |
|
71 |
|
|
72 |
@Column(comment = "营销分类(OrderItemConstants)", length = 64, type = MySqlTypeConstant.VARCHAR, isNull = false) |
|
73 |
private String marketingType; |
|
74 |
@Column(comment = "营销分类名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
75 |
private String marketingTypeName; |
|
76 |
|
|
77 |
@Column(comment = "营销名称", type = MySqlTypeConstant.VARCHAR,length = 128) |
|
78 |
private String marketingName; |
|
79 |
|
|
80 |
@Column(comment = "基础分类(OrderItemConstants)", length = 64, type = MySqlTypeConstant.VARCHAR, isNull = false) |
|
81 |
private String basicType; |
|
82 |
@Column(comment = "基础分类名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
83 |
private String basicTypeName; |
|
84 |
|
|
85 |
@Column(comment = "一级分类(OrderItemConstants)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
86 |
private String firstLevelType; |
|
87 |
@Column(comment = "一级分类名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
88 |
private String firstLevelTypeName; |
|
89 |
@Column(comment = "二级分类(OrderItemConstants)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
90 |
private String secondLevelType; |
|
91 |
@Column(comment = "二级分类名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
92 |
private String secondLevelTypeName; |
|
93 |
@Column(comment = "分类父类包括自己JSON,格式:[{\"id\":\"渠道标识\",\"name\":\"渠道名称\",\"parentId\":\"父类标识\"}]", type = MySqlTypeConstant.TEXT,isNull = false) |
|
94 |
private String classifyJson = "[]"; |
|
95 |
|
|
96 |
@Index |
|
97 |
@Column(comment = "项目id/商品id(公用标识)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
98 |
private String commonId; |
|
99 |
@Column(comment = "项目编号/商品编码", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
100 |
private String commonNo; |
|
101 |
@Column(comment = "项目名称/商品名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
102 |
private String commonName; |
|
103 |
|
|
104 |
@Column(comment = "规格", length = 128, type = MySqlTypeConstant.VARCHAR) |
|
105 |
private String specification; |
|
106 |
@Column(comment = "资质", length = 128, type = MySqlTypeConstant.VARCHAR) |
|
107 |
private String qualification; |
|
108 |
@Column(comment = "项目单位", length = 128, type = MySqlTypeConstant.VARCHAR) |
|
109 |
private String unit; |
|
110 |
|
|
111 |
@Column(comment = "科室编号", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
112 |
private String departmentCode; |
|
113 |
@Column(comment = "科室名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
114 |
private String departmentName; |
|
115 |
|
|
116 |
@Column(comment = "价格标签", length = 128, type = MySqlTypeConstant.VARCHAR) |
|
117 |
private String priceTag; |
|
118 |
|
|
119 |
@Index |
|
120 |
@Column(comment = "收费订单id", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
121 |
private String payOrderId; |
|
122 |
@Column(comment = "收费单号", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
123 |
private String payOrderNo; |
|
124 |
|
|
125 |
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
|
126 |
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") |
|
127 |
@Column(comment="结算时间(收费日期)",type = MySqlTypeConstant.DATETIME) |
|
128 |
private Date orderTime; |
|
129 |
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
|
130 |
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") |
|
131 |
@Column(comment="执行日期",type = MySqlTypeConstant.DATETIME) |
|
132 |
private Date deductionTime; |
|
133 |
|
|
134 |
@Column(comment = "业务类型(PerformanceInfoEnum)", type = MySqlTypeConstant.VARCHAR, length = 64) |
|
135 |
private String businessType; |
|
136 |
@Column(comment = "业务类型名称", type = MySqlTypeConstant.VARCHAR, length = 64) |
|
137 |
private String businessTypeName; |
|
138 |
|
|
139 |
@Index |
|
140 |
@Column(comment = "用户id", length = 64, type = MySqlTypeConstant.VARCHAR, isNull = false) |
|
141 |
private String userId; |
|
142 |
@Column(comment = "会员号(用户编号)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
143 |
private String memberNO; |
|
144 |
@Column(comment = "CIQ", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
145 |
private String memberCIQ; |
|
146 |
@Column(comment = "病例号", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
147 |
private String memberCaseNo; |
|
148 |
@Column(comment = "客户类别", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
149 |
private String userClass; |
|
150 |
@Column(comment="是否首次执行", length = 1, type = MySqlTypeConstant.INT) |
|
151 |
private Integer isFirstDeduction; |
|
152 |
@Column(comment="会员等级", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
153 |
private String userLevel; |
|
154 |
@Column(comment="用户名称", type = MySqlTypeConstant.VARCHAR) |
|
155 |
private String userName; |
|
156 |
@Column(comment="共享客户", length = 1, type = MySqlTypeConstant.TINYINT) |
|
157 |
private Integer shareCustomer; |
|
158 |
@Column(comment = "客户类型", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
159 |
private String userType; |
|
160 |
|
|
161 |
@Column(comment = "登记人类型", length = 1, type = MySqlTypeConstant.TINYINT) |
|
162 |
private Integer registrantType; |
|
163 |
@Index |
|
164 |
@Column(comment = "登记人Id", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
165 |
private String registrantId; |
|
166 |
@Column(comment = "登记人名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
167 |
private String registrantName; |
|
168 |
|
|
169 |
@Index |
|
170 |
@Column(comment = "执行医生Id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
171 |
private String deductionDoctorId; |
|
172 |
@Column(comment = "执行医生名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
173 |
private String deductionDoctorName; |
|
174 |
|
|
175 |
@Index |
|
176 |
@Column(comment = "助理医生Id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
177 |
private String assistantDoctorId; |
|
178 |
@Column(comment = "助理医生名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
179 |
private String assistantDoctorName; |
|
180 |
|
|
181 |
@Index |
|
182 |
@Column(comment = "美容师Id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
183 |
private String beauticianId; |
|
184 |
@Column(comment = "美容师名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
185 |
private String beauticianName; |
|
186 |
|
|
187 |
@Index |
|
188 |
@Column(comment = "订单id", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
189 |
private String orderId; |
|
190 |
@Column(comment = "订单编号", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
191 |
private String orderNo; |
|
192 |
|
|
193 |
@Index |
|
194 |
@Column(comment = "订单条码id", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
195 |
private String orderItemId; |
|
196 |
@Column(comment = "订单条码编号", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
197 |
private String orderItemNo; |
|
198 |
|
|
199 |
@Column(comment = "开单人类型", length = 1, type = MySqlTypeConstant.TINYINT) |
|
200 |
private Integer orderOpType; |
|
201 |
@Index |
|
202 |
@Column(comment = "开单人Id", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
203 |
private String orderOpId; |
|
204 |
@Column(comment = "开单人名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
205 |
private String orderOpName; |
|
206 |
|
|
207 |
|
|
208 |
@Column(comment = "开发人类型", length = 1, type = MySqlTypeConstant.TINYINT) |
|
209 |
private Integer developOpType; |
|
210 |
@Column(comment = "开发人Id", type = MySqlTypeConstant.VARCHAR) |
|
211 |
private String developOpId; |
|
212 |
@Column(comment = "开发人名称", type = MySqlTypeConstant.VARCHAR) |
|
213 |
private String developOpName; |
|
214 |
|
|
215 |
@Column(comment = "开发人门店标识", type = MySqlTypeConstant.VARCHAR,length = 64) |
|
216 |
private String developShopId; |
|
217 |
@Column(comment = "开发人门店名称", type = MySqlTypeConstant.VARCHAR,length = 64) |
|
218 |
private String developShopName; |
|
219 |
|
|
220 |
@Column(comment = "所属咨询师类型", length = 1, type = MySqlTypeConstant.TINYINT) |
|
221 |
private Integer belongConsultantType; |
|
222 |
@Index |
|
223 |
@Column(comment = "用户所属咨询师id(Employee id) 用户划扣时的所属咨询师", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
224 |
private String belongConsultantId; |
|
225 |
@Column(comment = "用户所属咨询师名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
226 |
private String belongConsultantName; |
|
227 |
|
|
228 |
@Column(comment = "用户所属咨询师所属门店信息", type = MySqlTypeConstant.LONGTEXT) |
|
229 |
private String belongConsultantShopInfo; |
|
230 |
|
|
231 |
@Column(comment = "开单咨询师类型", length = 1, type = MySqlTypeConstant.TINYINT) |
|
232 |
private Integer orderConsultantType; |
|
233 |
@Index |
|
234 |
@Column(comment = "开单咨询师id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
235 |
private String orderConsultantId; |
|
236 |
@Column(comment = "开单咨询师名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
237 |
private String orderConsultantName; |
|
238 |
|
|
239 |
@Column(comment = "收银咨询师类型", length = 1, type = MySqlTypeConstant.TINYINT) |
|
240 |
private Integer cashierConsultantType; |
|
241 |
@Index |
|
242 |
@Column(comment = "收银咨询师id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
243 |
private String cashierConsultantId; |
|
244 |
@Column(comment = "收银咨询师名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
245 |
private String cashierConsultantName; |
|
246 |
|
|
247 |
@Column(comment = "接诊咨询师名称类型", length = 1, type = MySqlTypeConstant.TINYINT) |
|
248 |
private Integer receptionConsultantType; |
|
249 |
@Index |
|
250 |
@Column(comment = "接诊咨询师id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
251 |
private String receptionConsultantId; |
|
252 |
@Column(comment = "接诊咨询师名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
253 |
private String receptionConsultantName; |
|
254 |
|
|
255 |
@Column(comment = "执行咨询师类型", length = 1, type = MySqlTypeConstant.TINYINT) |
|
256 |
private Integer deductionConsultantType; |
|
257 |
@Index |
|
258 |
@Column(comment = "执行咨询师id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
259 |
private String deductionConsultantId; |
|
260 |
@Column(comment = "执行咨询师名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
261 |
private String deductionConsultantName; |
|
262 |
|
|
263 |
@Column(comment = "收入计入", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
264 |
private String revenueRecordedType; |
|
265 |
@Column(comment = "收入计入名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
266 |
private String revenueRecordedName; |
|
267 |
|
|
268 |
@Column(comment = "收入主体", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
269 |
private String revenueSubjectType; |
|
270 |
@Column(comment = "收入主体名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
271 |
private String revenueSubjectName; |
|
272 |
|
|
273 |
@Column(comment = "原单价", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
274 |
private BigDecimal originalPrice = BigDecimal.ZERO; |
|
275 |
@Column(comment = "数量", type = MySqlTypeConstant.INT,length = 11) |
|
276 |
private Integer quantity; |
|
277 |
@Column(comment = "未执行次数", type = MySqlTypeConstant.INT) |
|
278 |
private Integer notUsedNum; |
|
279 |
|
|
280 |
@Column(comment = "折扣", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
281 |
private BigDecimal discount = BigDecimal.ZERO; |
|
282 |
@Column(comment = "折后金额", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
283 |
private BigDecimal discountAmount = BigDecimal.ZERO; |
|
284 |
@Column(comment = "收银金额", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
285 |
private BigDecimal cashierAmount = BigDecimal.ZERO; |
|
286 |
|
|
287 |
@Column(comment="是否欠费", length = 1, type = MySqlTypeConstant.INT) |
|
288 |
private Integer isArrears; |
|
289 |
@Column(comment = "预定金", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
290 |
private BigDecimal deposit = BigDecimal.ZERO; |
|
291 |
@Column(comment = "储值金", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
292 |
private BigDecimal storedValueFund = BigDecimal.ZERO; |
|
293 |
@Column(comment = "增值金", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
294 |
private BigDecimal valueAddedFund = BigDecimal.ZERO; |
|
295 |
@Column(comment = "积分", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
296 |
private BigDecimal integral = BigDecimal.ZERO; |
|
297 |
@Column(comment = "积分金额", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
298 |
private BigDecimal integralAmount = BigDecimal.ZERO; |
|
299 |
@Column(comment = "虚拟金额", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
300 |
private BigDecimal virtualAmount = BigDecimal.ZERO; |
|
301 |
|
|
302 |
@Column(comment = "业绩总额", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
303 |
private BigDecimal performanceTotal = BigDecimal.ZERO; |
|
304 |
@Column(comment = "业绩不含税", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
305 |
private BigDecimal performanceNotHasTax; |
|
306 |
@Column(comment = "税额", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
307 |
private BigDecimal taxAmount; |
|
308 |
|
|
309 |
@Column(comment = "标准耗材成本", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
310 |
private BigDecimal standardConsumablesCost = BigDecimal.ZERO; |
|
311 |
@Column(comment = "实际耗材成本", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
312 |
private BigDecimal actualConsumablesCost = BigDecimal.ZERO; |
|
313 |
|
|
314 |
@Column(comment = "渠道分类标识(ChannelsType)(必填,代码判断)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
315 |
private String channelsTypeId; |
|
316 |
@Column(comment = "渠道分类名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
317 |
private String channelsTypeName; |
|
318 |
@Column(comment = "渠道标识", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
319 |
private String channelId; |
|
320 |
@Column(comment = "渠道名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
321 |
private String channelName; |
|
322 |
|
|
323 |
@Column(comment = "渠道联系人类型", length = 4, type = MySqlTypeConstant.TINYINT) |
|
324 |
private Integer channelContactType; |
|
325 |
@Index |
|
326 |
@Column(comment = "渠道联系人Id", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
327 |
private String channelContactId; |
|
328 |
@Column(comment = "渠道联系人名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
329 |
private String channelContactName; |
|
330 |
|
|
331 |
@Column(comment = "渠道合作人类型", length = 1, type = MySqlTypeConstant.TINYINT) |
|
332 |
private Integer channelPartnerType; |
|
333 |
@Index |
|
334 |
@Column(comment = "渠道合作人Id", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
335 |
private String channelPartnerId; |
|
336 |
@Column(comment = "渠道合作人名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
337 |
private String channelPartnerName; |
|
338 |
|
|
339 |
@Column(comment = "诊所内部联络人类型", length = 1, type = MySqlTypeConstant.TINYINT) |
|
340 |
private Integer internalContactType; |
|
341 |
@Index |
|
342 |
@Column(comment = "诊所内部联络人Id", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
343 |
private String internalContactId; |
|
344 |
@Column(comment = "诊所内部联络人名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
345 |
private String internalContactName; |
|
346 |
|
|
347 |
@Column(comment = "电网咨询师id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
348 |
private String tmkServiceId; |
|
349 |
@Column(comment = "电网咨询师名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
350 |
private String tmkServiceName; |
|
351 |
|
|
352 |
@Column(comment = "客服id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
353 |
private String chatCorpUserId; |
|
354 |
@Column(comment = "客服名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
355 |
private String chatCorpUserName; |
|
356 |
|
|
357 |
@Column(comment = "护士id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
358 |
private String nurseCorpUserId; |
|
359 |
@Column(comment = "护士名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
360 |
private String nurseCorpUserName; |
|
361 |
|
|
362 |
@Column(comment = "洗手护士id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
363 |
private String handWashNurseId; |
|
364 |
@Column(comment = "洗手护士名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
365 |
private String handWashNurseName; |
|
366 |
|
|
367 |
@Column(comment = "巡回护士id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
368 |
private String circuitingNurseId; |
|
369 |
@Column(comment = "巡回护士名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
370 |
private String circuitingNurseName; |
|
371 |
|
|
372 |
@Column(comment = "配台护士id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
373 |
private String tableNurseId; |
|
374 |
@Column(comment = "配台护士名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
375 |
private String tableNurseName; |
|
376 |
|
|
377 |
@Column(comment = "麻醉师id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
378 |
private String anesthesiologistId; |
|
379 |
@Column(comment = "麻醉师名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
380 |
private String anesthesiologistName; |
|
381 |
|
|
382 |
@Column(comment = "疗程总额", length = 28, type = MySqlTypeConstant.DECIMAL) |
|
383 |
private BigDecimal treatmentTotal; |
|
384 |
|
|
385 |
@Column(comment = "TMK登记人id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
386 |
private String tmkRegistrantId; |
|
387 |
@Column(comment = "TMK登记人名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
388 |
private String tmkRegistrantName; |
|
389 |
|
|
390 |
@Column(comment = "收费员id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
391 |
private String chargeId; |
|
392 |
@Column(comment = "收费员名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
393 |
private String chargeName; |
|
394 |
|
|
395 |
@Column(comment = "服务门店id", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
396 |
private String serviceShopId; |
|
397 |
@Column(comment = "服务门店名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
398 |
private String serviceShopName; |
|
399 |
|
|
400 |
@Column(comment = "用户所属门店id", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
401 |
private String belongShopId; |
|
402 |
@Column(comment = "用户所属门店名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
403 |
private String belongShopName; |
|
404 |
|
|
405 |
@Column(comment = "下单门店id", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
406 |
private String orderShopId; |
|
407 |
@Column(comment = "下单门店名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
408 |
private String orderShopName; |
|
409 |
|
|
410 |
@Column(comment = "收银门店id", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
411 |
private String cashierShopId; |
|
412 |
@Column(comment = "收银门店名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
413 |
private String cashierShopName; |
|
414 |
|
|
415 |
@Column(comment = "收费备注", type = MySqlTypeConstant.TEXT) |
|
416 |
private String chargeRemark; |
|
417 |
|
|
418 |
@Column(comment = "营销标签", type = MySqlTypeConstant.TEXT) |
|
419 |
private String marketingTag; |
|
420 |
|
|
421 |
@Column(comment="是否转诊转疗", length = 1, type = MySqlTypeConstant.INT) |
|
422 |
private Integer isTurn; |
|
423 |
@Column(comment="是否可执行项目", length = 1, type = MySqlTypeConstant.INT) |
|
424 |
private Integer isDeductionProject; |
|
425 |
@Column(comment="是否疗程项目", length = 1, type = MySqlTypeConstant.INT) |
|
426 |
private Integer isTreatmentProject; |
|
427 |
|
|
428 |
@Column(comment = "购买数量", type = MySqlTypeConstant.INT,length = 11) |
|
429 |
private Integer buyNum; |
|
430 |
@Column(comment = "疗程次数", type = MySqlTypeConstant.INT,length = 11) |
|
431 |
private Integer treatmentNum; |
|
432 |
@Column(comment = "疗程总数", type = MySqlTypeConstant.INT,length = 11) |
|
433 |
private Integer treatmentTotality; |
|
434 |
@Column(comment = "疗程序号", type = MySqlTypeConstant.INT,length = 11) |
|
435 |
private Integer treatmentNo; |
|
436 |
|
|
437 |
@Column(comment = "划扣备注", type = MySqlTypeConstant.TEXT) |
|
438 |
private String deductionRemark; |
|
439 |
@Column(comment = "免单原因", type = MySqlTypeConstant.TEXT) |
|
440 |
private String freeReason; |
|
441 |
|
|
442 |
@Column(comment = "业绩类别(PerformanceInfoEnum)", type = MySqlTypeConstant.VARCHAR, isNull = false) |
|
443 |
private String performanceCategory; |
|
444 |
@Column(comment = "业绩类别名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
445 |
private String performanceCategoryName; |
|
446 |
|
|
447 |
@Column(comment = "订单类型(OrderItemConstants)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
448 |
private String orderType; |
|
449 |
@Column(comment = "订单类型名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
450 |
private String orderTypeName; |
|
451 |
|
|
452 |
@Column(comment = "订单分类(OrderItemConstants)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
453 |
private int orderClassify; |
|
454 |
@Column(comment = "订单类型名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
455 |
private String orderClassifyName; |
|
456 |
|
|
457 |
@Column(comment = "客户成交标签", type = MySqlTypeConstant.TEXT) |
|
458 |
private String customerTransactionTag; |
|
459 |
|
|
460 |
@Column(comment = "订单渠道分类名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
461 |
private String orderChannelsTypeName; |
|
462 |
|
|
463 |
@Column(comment = "订单一级分类(OrderItemConstants) 渠道为一级渠道id 会员填写空", type = MySqlTypeConstant.VARCHAR, length = 64) |
|
464 |
private String orderFirstLevelType; |
|
465 |
@Column(comment = "订单一级分类名称", type = MySqlTypeConstant.VARCHAR, length = 64) |
|
466 |
private String orderFirstLevelTypeName; |
|
467 |
@Column(comment = "订单渠道的json,所有父类包括自己:[{\"id\":\"渠道标识\",\"parentId\":\"父类渠道标识\",\"name\":\"渠道名称\"}]", type = MySqlTypeConstant.TEXT) |
|
468 |
private String orderChannelJson = "[]"; |
|
469 |
@Column(comment = "订单渠道一级编号", type = MySqlTypeConstant.VARCHAR, length = 32) |
|
470 |
private String orderChannel1No; |
|
471 |
@Column(comment = "订单渠道一级的分类标识", type = MySqlTypeConstant.VARCHAR, length = 32) |
|
472 |
private String orderChannel1TypeId; |
|
473 |
@Column(comment = "订单渠道一级的分类编号", type = MySqlTypeConstant.VARCHAR, length = 32) |
|
474 |
private String orderChannel1TypeNo; |
|
475 |
@Column(comment = "订单渠道一级的分类名称", type = MySqlTypeConstant.VARCHAR, length = 50) |
|
476 |
private String orderChannel1TypeName; |
|
477 |
|
|
478 |
@Column(comment = "订单二级分类(OrderItemConstants) 渠道为二级渠道id", type = MySqlTypeConstant.VARCHAR, length = 64) |
|
479 |
private String orderSecondLevelType; |
|
480 |
@Column(comment = "订单二级分类名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
481 |
private String orderSecondLevelTypeName; |
|
482 |
@Column(comment = "订单渠道二级编号", type = MySqlTypeConstant.VARCHAR, length = 32) |
|
483 |
private String orderChannel2No; |
|
484 |
@Column(comment = "订单渠道二级的联系人名称", length = 50, type = MySqlTypeConstant.VARCHAR) |
|
485 |
private String orderChannel2Contacts; |
|
486 |
@Column(comment = "订单渠道二级的部门标识", type = MySqlTypeConstant.VARCHAR, length = 32) |
|
487 |
private String orderChannel2Depart; |
|
488 |
@Column(comment = "订单渠道二级的部门名称", type = MySqlTypeConstant.VARCHAR, length = 32) |
|
489 |
private String orderChannel2DepartName; |
|
490 |
@Column(comment = "订单渠道二级的分类标识", type = MySqlTypeConstant.VARCHAR, length = 32) |
|
491 |
private String orderChannel2TypeId; |
|
492 |
@Column(comment = "订单渠道二级的分类编号", type = MySqlTypeConstant.VARCHAR, length = 32) |
|
493 |
private String orderChannel2TypeNo; |
|
494 |
@Column(comment = "订单渠道二级的分类名称", type = MySqlTypeConstant.VARCHAR, length = 50) |
|
495 |
private String orderChannel2TypeName; |
|
496 |
@Column(comment = "订单渠道合作人Id", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
497 |
private String orderChannelPartnerId; |
|
498 |
@Column(comment = "订单渠道合作人名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
499 |
private String orderChannelPartnerName; |
|
500 |
|
|
501 |
@Column(comment = "客户推荐人分类标识",length = 32, type = MySqlTypeConstant.VARCHAR) |
|
502 |
private String inviteeTypeId; |
|
503 |
@Column(comment = "客户推荐人分类名称",length = 64, type = MySqlTypeConstant.VARCHAR) |
|
504 |
private String inviteeTypeName; |
|
505 |
@Column(comment = "客户推荐人标识",length = 32, type = MySqlTypeConstant.VARCHAR) |
|
506 |
private String inviteeId; |
|
507 |
@Column(comment = "客户推荐人编号",length = 64, type = MySqlTypeConstant.VARCHAR) |
|
508 |
private String inviteeNo; |
|
509 |
@Column(comment = "邀请人编号", type = MySqlTypeConstant.VARCHAR, length = 32) |
|
510 |
private String inviteeCIQ; |
|
511 |
@Column(comment = "客户推荐人名称",length = 64, type = MySqlTypeConstant.VARCHAR) |
|
512 |
private String inviteeName; |
|
513 |
|
|
514 |
@Column(comment = "订单推荐人类型", length = 32, type = MySqlTypeConstant.VARCHAR) |
|
515 |
private String orderInviteeType; |
|
516 |
@Column(comment = "订单推荐人名称",length = 32, type = MySqlTypeConstant.VARCHAR) |
|
517 |
private String orderInviteeTypeName; |
|
518 |
@Column(comment = "订单推荐人标识",length = 32, type = MySqlTypeConstant.VARCHAR) |
|
519 |
private String orderInviteeId; |
|
520 |
@Column(comment = "客户推荐人编号",length = 64, type = MySqlTypeConstant.VARCHAR) |
|
521 |
private String orderInviteeNo; |
|
522 |
@Column(comment = "邀请人编号", type = MySqlTypeConstant.VARCHAR, length = 32) |
|
523 |
private String orderInviteeCIQ; |
|
524 |
@Column(comment = "订单推荐人名称",length = 64, type = MySqlTypeConstant.VARCHAR) |
|
525 |
private String orderInviteeName; |
|
526 |
@Column(comment = "订单推荐人角色信息",length = 128, type = MySqlTypeConstant.VARCHAR) |
|
527 |
private String orderInviteeRoleInfo; |
|
528 |
|
|
529 |
@Index |
|
530 |
@Column(comment = "会员主诊医生Id(Employee id)", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
531 |
private String attendingDoctorId; |
|
532 |
@Column(comment = "会员主诊医生名称", length = 64, type = MySqlTypeConstant.VARCHAR) |
|
533 |
private String attendingDoctorName; |
|
534 |
|
|
535 |
@Column(comment = "治疗单类型(OrderTotalConstants)", length = 2, type = MySqlTypeConstant.INT, isNull = false, defaultValue = "0") |
|
536 |
private Integer treatOrderClassify; |
|
537 |
@Column(comment = "治疗单类型(OrderTotalConstants)", length = 32, type = MySqlTypeConstant.VARCHAR) |
|
538 |
private String treatOrderClassifyName; |
|
539 |
|
|
540 |
@Column(comment = "优惠券发放人" ,type = MySqlTypeConstant.LONGTEXT) |
|
541 |
private String couponIssuer; |
|
542 |
@Column(comment = "优惠券发放人角色" ,type = MySqlTypeConstant.LONGTEXT) |
|
543 |
private String couponIssuerRole; |
|
544 |
@Column(comment = "优惠券名称" ,type = MySqlTypeConstant.LONGTEXT) |
|
545 |
private String couponName; |
|
546 |
|
|
547 |
@Column(comment = "主渠道" ,type = MySqlTypeConstant.LONGTEXT) |
|
548 |
private String mainChannelName; |
|
549 |
@Column(comment = "执行部位" ,type = MySqlTypeConstant.LONGTEXT) |
|
550 |
private String deductionBodyPartInfo; |
|
551 |
|
|
552 |
/**页数*/ |
|
553 |
private Integer pageNum; |
|
554 |
/**条数*/ |
|
555 |
private Integer pageSize; |
|
556 |
|
|
557 |
public Integer getPageNum() { |
|
558 |
if(pageNum == null){ |
|
559 |
pageNum = 1; |
|
560 |
} |
|
561 |
return pageNum; |
|
562 |
} |
|
563 |
|
|
564 |
public void setPageNum(Integer pageNum) { |
|
565 |
this.pageNum = pageNum; |
|
566 |
} |
|
567 |
|
|
568 |
public Integer getPageSize() { |
|
569 |
if(pageSize == null || pageSize > 500){ |
|
570 |
pageSize = 20; |
|
571 |
} |
|
572 |
return pageSize; |
|
573 |
} |
|
574 |
|
|
575 |
public void setPageSize(Integer pageSize) { |
|
576 |
this.pageSize = pageSize; |
|
577 |
} |
|
578 |
} |