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
package com.ltkj.hosp.domain;
 
import com.baomidou.mybatisplus.annotation.TableField;
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 lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
import java.util.List;
 
/**
 * 会诊申请记录
 * 对象 tj_hz_log
 *
 * @author ltkj_赵佳豪&李格
 * @date 2023-11-22
 */
@Data
public class TjHzLog extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    /**
     * 会诊id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
 
    /**
     * 会诊订单id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @Excel(name = "会诊订单id")
    private Long orderId;
 
    /**
     * 用户id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @Excel(name = "用户id")
    private Long userId;
 
    /**
     * 体检号
     */
    @Excel(name = "体检号")
    private String tjNumber;
 
    /**
     * 用户名
     */
    @Excel(name = "用户名")
    private String userName;
 
    /**
     * 会诊类型0全院会诊1科室会诊
     */
    @Excel(name = "会诊类型0全院会诊1科室会诊")
    private String hzType;
 
    /**
     * 会诊科室[]
     */
    @Excel(name = "会诊科室[]")
    private String hzDeptId;
 
 
    /**
     * 会诊申请人id
     */
    @Excel(name = "会诊申请人id")
    private String hzDoctorId;
 
    /**
     * 会诊申请人名
     */
    @Excel(name = "会诊申请人名")
    private String hzDoctorName;
 
    /**
     * 会诊科室[]
     */
    @TableField(exist = false)
    private List<String> hzDeptIdList;
 
 
    /**
     * 会诊科室[]
     */
    @TableField(exist = false)
    private List<String> hzDeptNameList;
 
    /**
     * 会诊科室[]
     */
    @TableField(exist = false)
    private List<TjHzReplyLog> hzReplyLogsList;
 
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderId", getOrderId())
                .append("userId", getUserId())
                .append("tjNumber", getTjNumber())
                .append("userName", getUserName())
                .append("hzType", getHzType())
                .append("hzDeptId", getHzDeptId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("deleted", getDeleted())
                .append("hzDoctorId", getHzDoctorId())
                .append("hzDoctorName", getHzDoctorName())
                .toString();
    }
}