lige
2023-11-30 3f28b46171934066aeeff9af80d3f0ce6afb3adf
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
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
package com.ltkj.hosp.domain;
 
import java.util.List;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ltkj.common.annotation.Excel;
import com.ltkj.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
/**
 * 问诊对象 tj_ask_medical_history
 *
 * @author ltkj_赵佳豪&李格
 * @date 2023-04-11
 */
@Data
@ApiModel(value = "问诊对象")
@AllArgsConstructor
@NoArgsConstructor
public class TjAskMedicalHistory extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    /**
     * askId
     */
    @TableId(type= IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long askId;
 
    /**
     * 客户id
     */
    @ApiModelProperty(value = "客户id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long cusId;
 
    @ApiModelProperty(value = "客户身份证号")
    @TableField(exist = false)
    private String cusIdCard;
 
    /**
     * 客户名
     */
    @ApiModelProperty(value = "客户名")
    @Excel(name = "客户名")
    private String cusName;
 
    @ApiModelProperty(value = "体检号")
    @Excel(name = "体检号")
    private String tjNum;
 
    /**
     * 职业
     */
    @ApiModelProperty(value = "职业")
    @Excel(name = "职业")
    private String work;
 
    /**
     * 工作状态
     */
    @ApiModelProperty(value = "工作状态")
    @Excel(name = "工作状态",dictType="tj_work_status")
    private String workStatus;
 
    /**
     * 既往病史
     */
    @ApiModelProperty(value = "既往病史")
    @Excel(name = "既往病史")
    private String medicalHistory;
 
    /**
     * 初潮
     */
    @ApiModelProperty(value = "初潮")
    @Excel(name = "初潮")
    private String chuchao;
 
    /**
     * 经期
     */
    @ApiModelProperty(value = "经期")
    @Excel(name = "经期")
    private String jingqi;
 
    /**
     * 周期
     */
    @ApiModelProperty(value = "周期")
    @Excel(name = "周期")
    private String zhouqi;
 
    /**
     * 末次月经或停经年龄
     */
    @ApiModelProperty(value = "末次月经或停经年龄")
    @Excel(name = "末次月经或停经年龄")
    private String mociage;
 
    /**
     * 现有子女
     */
    @ApiModelProperty(value = "现有子女")
    @Excel(name = "现有子女")
    private String zinv;
 
    /**
     * 流产
     */
    @ApiModelProperty(value = "流产")
    @Excel(name = "流产")
    private String liuchan;
 
    /**
     * 早产
     */
    @ApiModelProperty(value = "早产")
    @Excel(name = "早产")
    private String zaochan;
 
    /**
     * 死产
     */
    @ApiModelProperty(value = "死产")
    @Excel(name = "死产")
    private String sichan;
 
    /**
     * 异常胎
     */
    @ApiModelProperty(value = "异常胎")
    @Excel(name = "异常胎")
    private String yichangtai;
 
    /**
     * 吸烟
     */
    @ApiModelProperty(value = "吸烟")
    @Excel(name = "吸烟")
    private String xiyan;
 
    /**
     * 吸烟频率
     */
    @ApiModelProperty(value = "吸烟频率")
    @Excel(name = "吸烟频率")
    private String xiyanpinlv;
 
    /**
     * 吸烟时间
     */
    @ApiModelProperty(value = "吸烟时间")
    @Excel(name = "吸烟时间")
    private String xiyanyear;
 
    /**
     * 饮酒
     */
    @ApiModelProperty(value = "饮酒")
    @Excel(name = "饮酒")
    private String yinjiu;
 
    /**
     * 饮酒频率
     */
    @ApiModelProperty(value = "饮酒频率")
    @Excel(name = "饮酒频率")
    private String yinjiupinlv;
 
    /**
     * 饮酒时间
     */
    @ApiModelProperty(value = "饮酒时间")
    @Excel(name = "饮酒时间")
    private String yinjiuyear;
 
    /**
     * 其他
     */
    @ApiModelProperty(value = "其他")
    @Excel(name = "其他")
    private String qita;
 
    /**
     * 来源标志
     */
    @ApiModelProperty(value = "来源标志")
    @Excel(name = "来源标志")
    private String fromBy;
 
    /**
     * 病史信息
     */
    @ApiModelProperty(value = "病史信息")
    @TableField(exist = false)
    private List<TjAskHistorys> tjAskHistorysList;
 
    public void setAskId(Long askId) {
        this.askId = askId;
    }
 
    public Long getAskId() {
        return askId;
    }
 
    public void setCusId(Long cusId) {
        this.cusId = cusId;
    }
 
    public Long getCusId() {
        return cusId;
    }
 
    public void setCusName(String cusName) {
        this.cusName = cusName;
    }
 
    public String getCusName() {
        return cusName;
    }
 
    public void setWork(String work) {
        this.work = work;
    }
 
    public String getWork() {
        return work;
    }
 
    public void setWorkStatus(String workStatus) {
        this.workStatus = workStatus;
    }
 
    public String getWorkStatus() {
        return workStatus;
    }
 
    public void setMedicalHistory(String medicalHistory) {
        this.medicalHistory = medicalHistory;
    }
 
    public String getMedicalHistory() {
        return medicalHistory;
    }
 
    public void setChuchao(String chuchao) {
        this.chuchao = chuchao;
    }
 
    public String getChuchao() {
        return chuchao;
    }
 
    public void setJingqi(String jingqi) {
        this.jingqi = jingqi;
    }
 
    public String getJingqi() {
        return jingqi;
    }
 
    public void setZhouqi(String zhouqi) {
        this.zhouqi = zhouqi;
    }
 
    public String getZhouqi() {
        return zhouqi;
    }
 
    public void setMociage(String mociage) {
        this.mociage = mociage;
    }
 
    public String getMociage() {
        return mociage;
    }
 
    public void setZinv(String zinv) {
        this.zinv = zinv;
    }
 
    public String getZinv() {
        return zinv;
    }
 
    public void setLiuchan(String liuchan) {
        this.liuchan = liuchan;
    }
 
    public String getLiuchan() {
        return liuchan;
    }
 
    public void setZaochan(String zaochan) {
        this.zaochan = zaochan;
    }
 
    public String getZaochan() {
        return zaochan;
    }
 
    public void setSichan(String sichan) {
        this.sichan = sichan;
    }
 
    public String getSichan() {
        return sichan;
    }
 
    public void setYichangtai(String yichangtai) {
        this.yichangtai = yichangtai;
    }
 
    public String getYichangtai() {
        return yichangtai;
    }
 
    public void setXiyan(String xiyan) {
        this.xiyan = xiyan;
    }
 
    public String getXiyan() {
        return xiyan;
    }
 
    public void setXiyanpinlv(String xiyanpinlv) {
        this.xiyanpinlv = xiyanpinlv;
    }
 
    public String getXiyanpinlv() {
        return xiyanpinlv;
    }
 
    public void setXiyanyear(String xiyanyear) {
        this.xiyanyear = xiyanyear;
    }
 
    public String getXiyanyear() {
        return xiyanyear;
    }
 
    public void setYinjiu(String yinjiu) {
        this.yinjiu = yinjiu;
    }
 
    public String getYinjiu() {
        return yinjiu;
    }
 
    public void setYinjiupinlv(String yinjiupinlv) {
        this.yinjiupinlv = yinjiupinlv;
    }
 
    public String getYinjiupinlv() {
        return yinjiupinlv;
    }
 
    public void setYinjiuyear(String yinjiuyear) {
        this.yinjiuyear = yinjiuyear;
    }
 
    public String getYinjiuyear() {
        return yinjiuyear;
    }
 
    public void setQita(String qita) {
        this.qita = qita;
    }
 
    public String getQita() {
        return qita;
    }
 
 
    public List<TjAskHistorys> getTjAskHistorysList() {
        return tjAskHistorysList;
    }
 
    public void setTjAskHistorysList(List<TjAskHistorys> tjAskHistorysList) {
        this.tjAskHistorysList = tjAskHistorysList;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("askId", getAskId())
                .append("cusId", getCusId())
                .append("cusName", getCusName())
                .append("work", getWork())
                .append("workStatus", getWorkStatus())
                .append("medicalHistory", getMedicalHistory())
                .append("chuchao", getChuchao())
                .append("jingqi", getJingqi())
                .append("zhouqi", getZhouqi())
                .append("mociage", getMociage())
                .append("zinv", getZinv())
                .append("liuchan", getLiuchan())
                .append("zaochan", getZaochan())
                .append("sichan", getSichan())
                .append("yichangtai", getYichangtai())
                .append("xiyan", getXiyan())
                .append("xiyanpinlv", getXiyanpinlv())
                .append("xiyanyear", getXiyanyear())
                .append("yinjiu", getYinjiu())
                .append("yinjiupinlv", getYinjiupinlv())
                .append("yinjiuyear", getYinjiuyear())
                .append("qita", getQita())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("deleted", getDeleted())
                .append("tjAskHistorysList", getTjAskHistorysList())
                .toString();
    }
}