zjh
2025-01-21 7caeae303d4a93d0af2dc2d2f546987dd192be3c
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
package com.ltkj.hosp.domain;
 
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
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.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
/**
 * 体检采样管理对象 tj_sampling
 *
 * @author ltkj_赵佳豪&李格
 * @date 2023-04-11
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "采样管理")
public class TjSampling extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    /**
     * id
     */
    @TableId
    private String id;
 
 
    @Excel(name = "体检号")
    @ApiModelProperty(value = "体检号")
    private String tjNum;
 
    @TableField(exist = false)
    private String cardId;
 
    /**
     * 采样编号
     */
    @Excel(name = "采样编号")
    @ApiModelProperty(value = "采样编号")
    private String samplingNumber;
 
    /**
     * 客户id
     */
    @ApiModelProperty(value = "客户id")
    private String cusId;
 
    @Excel(name = "客户姓名")
    @ApiModelProperty(value = "客户姓名")
    private String cusName;
 
    /**
     * 申请时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "申请时间")
    private Date applicationTime;
 
    /**
     * 0是1否
     */
    @Excel(name = "0是1否",readConverterExp="0=是,1=否")
    @ApiModelProperty(value = "0是1否")
    private String isSignFor;
 
    /**
     * 体检时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "体检时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "体检时间")
    private Date tjTime;
 
    /**
     * 标本类型
     */
    @Excel(name = "标本类型",dictType="sys_dict_specimen")
    @ApiModelProperty(value = "标本类型")
    private String specimenType;
 
    /**
     * 项目id父项
     */
    @Excel(name = "项目id父项")
    @ApiModelProperty(value = "项目id父项")
    private String proId;
 
    /**
     * 项目名称
     */
    @Excel(name = "项目名称")
    @ApiModelProperty(value = "项目名称")
    private String proName;
 
 
    @ApiModelProperty(value = "采样客户信息")
    @TableField(exist = false)
    private TjCustomer customer;
 
    /**
     * 合并后的父id
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String parentId;
 
    /**
     * 向lis申请单的检验序号
     */
    private String jyxh;
 
    /**
     * 标本代码
     */
    private String specimenTypeCode;
 
    /**
     * 是否为合并项目 1是 0否
     */
    private Integer isMerge;
 
    /**
     * lis检验项目代码
     */
    private String jyxmdm;
 
    /**
     * 补录项目标志编码
     */
    private String jxbz;
 
    /**
     * 是否支付
     */
    private Integer isPay;
 
    /**
     * 是否成功发出申请
     */
    private Integer isApply;
 
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("samplingNumber", getSamplingNumber())
                .append("cusId", getCusId())
                .append("applicationTime", getApplicationTime())
                .append("isSignFor", getIsSignFor())
                .append("tjTime", getTjTime())
                .append("specimenType", getSpecimenType())
                .append("proId", getProId())
                .append("proName", getProName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("deleted", getDeleted())
                .append("parentId", getParentId())
                .append("jyxh", getJyxh())
                .append("specimenTypeCode", getSpecimenTypeCode())
                .append("isPay", getIsPay())
                .append("isApply", getIsApply())
                .toString();
    }
}