liusheng
2025-03-09 903eeee334ae88241460191096354ff06e47d815
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
package com.smartor.domain;
 
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
 
/**
 * 管理计划对象 scheme_plan
 * 
 * @author smartor
 * @date 2023-03-04
 */
public class SchemePlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /**  自增ID  */
    private Long id;
 
    /**  方案ID  */
    @Excel(name = " 方案ID ")
    private Long schemeid;
 
    /**  方案代码  */
    @Excel(name = " 方案代码 ")
    private String schemecode;
 
    /**  患者ID  */
    @Excel(name = " 患者ID ")
    private Long patientid;
 
    /**  对应记录流水号  */
    @Excel(name = " 对应记录流水号 ")
    private String serialnum;
 
    /**  就诊ID  */
    @Excel(name = " 就诊ID ")
    private Long visitid;
 
    /**  就诊类型  */
    @Excel(name = " 就诊类型 ")
    private Long visittype;
 
    /**  状态;0.待开始 1.进行中 9.已结案  */
    @Excel(name = " 状态;0.待开始 1.进行中 9.已结案 ")
    private Long state;
 
    /**  结案时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 结案时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finshtime;
 
    /**  来源类型;1.自动生成 2.手动匹配 3.手动添加 3.批量导入  */
    @Excel(name = " 来源类型;1.自动生成 2.手动匹配 3.手动添加 3.批量导入 ")
    private Long sourcetype;
 
    /**  患者来源;0.全院(通用) 1.出院 2.在院 3.门诊 4.体检 5.无  */
    @Excel(name = " 患者来源;0.全院(通用) 1.出院 2.在院 3.门诊 4.体检 5.无 ")
    private Long patientsource;
 
    /**  结案类型  */
    @Excel(name = " 结案类型 ")
    private Long finshtype;
 
    /**  结案说明  */
    @Excel(name = " 结案说明 ")
    private String finshdesc;
 
    /**  基线时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 基线时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date basetime;
 
    /**  机构ID  */
    @Excel(name = " 机构ID ")
    private String orgid;
 
    /**  关联表ID  */
    @Excel(name = " 关联表ID ")
    private Long relationid;
 
    /**  删除标记  */
    private String delFlag;
 
    /**  上传标记  */
    @Excel(name = " 上传标记 ")
    private Long isupload;
 
    /**  上传时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 上传时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
 
    public void setId(Long id) 
    {
        this.id = id;
    }
 
    public Long getId() 
    {
        return id;
    }
    public void setSchemeid(Long schemeid) 
    {
        this.schemeid = schemeid;
    }
 
    public Long getSchemeid() 
    {
        return schemeid;
    }
    public void setSchemecode(String schemecode) 
    {
        this.schemecode = schemecode;
    }
 
    public String getSchemecode() 
    {
        return schemecode;
    }
    public void setPatientid(Long patientid) 
    {
        this.patientid = patientid;
    }
 
    public Long getPatientid() 
    {
        return patientid;
    }
    public void setSerialnum(String serialnum) 
    {
        this.serialnum = serialnum;
    }
 
    public String getSerialnum() 
    {
        return serialnum;
    }
    public void setVisitid(Long visitid) 
    {
        this.visitid = visitid;
    }
 
    public Long getVisitid() 
    {
        return visitid;
    }
    public void setVisittype(Long visittype) 
    {
        this.visittype = visittype;
    }
 
    public Long getVisittype() 
    {
        return visittype;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }
 
    public Long getState() 
    {
        return state;
    }
    public void setFinshtime(Date finshtime) 
    {
        this.finshtime = finshtime;
    }
 
    public Date getFinshtime() 
    {
        return finshtime;
    }
    public void setSourcetype(Long sourcetype) 
    {
        this.sourcetype = sourcetype;
    }
 
    public Long getSourcetype() 
    {
        return sourcetype;
    }
    public void setPatientsource(Long patientsource) 
    {
        this.patientsource = patientsource;
    }
 
    public Long getPatientsource() 
    {
        return patientsource;
    }
    public void setFinshtype(Long finshtype) 
    {
        this.finshtype = finshtype;
    }
 
    public Long getFinshtype() 
    {
        return finshtype;
    }
    public void setFinshdesc(String finshdesc) 
    {
        this.finshdesc = finshdesc;
    }
 
    public String getFinshdesc() 
    {
        return finshdesc;
    }
    public void setBasetime(Date basetime) 
    {
        this.basetime = basetime;
    }
 
    public Date getBasetime() 
    {
        return basetime;
    }
    public void setOrgid(String orgid) 
    {
        this.orgid = orgid;
    }
 
    public String getOrgid() 
    {
        return orgid;
    }
    public void setRelationid(Long relationid) 
    {
        this.relationid = relationid;
    }
 
    public Long getRelationid() 
    {
        return relationid;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }
 
    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setIsupload(Long isupload) 
    {
        this.isupload = isupload;
    }
 
    public Long getIsupload() 
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }
 
    public Date getUploadTime() 
    {
        return uploadTime;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schemeid", getSchemeid())
            .append("schemecode", getSchemecode())
            .append("patientid", getPatientid())
            .append("serialnum", getSerialnum())
            .append("visitid", getVisitid())
            .append("visittype", getVisittype())
            .append("state", getState())
            .append("finshtime", getFinshtime())
            .append("sourcetype", getSourcetype())
            .append("patientsource", getPatientsource())
            .append("finshtype", getFinshtype())
            .append("finshdesc", getFinshdesc())
            .append("basetime", getBasetime())
            .append("orgid", getOrgid())
            .append("relationid", getRelationid())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .toString();
    }
}