zhs
2025-04-17 d768725d119fb5ab75df5c8cf37fe9d7cde3e529
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
429
430
431
432
433
434
435
436
437
package com.smartor.domain;
 
import java.math.BigDecimal;
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_locallibrary
 * 
 * @author smartor
 * @date 2023-03-04
 */
public class SchemeLocallibrary extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /**  自增ID  */
    private Long id;
 
    /**  方案分类ID  */
    @Excel(name = " 方案分类ID ")
    private Long schemecategoryid;
 
    /**  方案名称  */
    @Excel(name = " 方案名称 ")
    private String schemename;
 
    /**  方案描述  */
    @Excel(name = " 方案描述 ")
    private String description;
 
    /**  模板ID  */
    @Excel(name = " 模板ID ")
    private Long templateid;
 
    /**  版本  */
    @Excel(name = " 版本 ")
    private BigDecimal version;
 
    /**  方案代码  */
    @Excel(name = " 方案代码 ")
    private String schemecode;
 
    /**  中心库ID  */
    @Excel(name = " 中心库ID ")
    private Long centerlibraryid;
 
    /**  患者来源;1.出院 2.在院 3.门诊 4.体检 5.无  */
    @Excel(name = " 患者来源;1.出院 2.在院 3.门诊 4.体检 5.无 ")
    private Long patientsource;
 
    /**  所属科室ID;多个科室逗号隔开  */
    @Excel(name = " 所属科室ID;多个科室逗号隔开 ")
    private String belongdeptid;
 
    /**  科室规则;0.不包含 1.包含  */
    @Excel(name = " 科室规则;0.不包含 1.包含 ")
    private Long ruledept;
 
    /**  所属病区ID;多个病区逗号隔开  */
    @Excel(name = " 所属病区ID;多个病区逗号隔开 ")
    private String belongwardid;
 
    /**  病区规则;0.不包含 1.包含  */
    @Excel(name = " 病区规则;0.不包含 1.包含 ")
    private Long ruleward;
 
    /**  重复处理;1.新计划自动结案 2.原计划自动结案  */
    @Excel(name = " 重复处理;1.新计划自动结案 2.原计划自动结案 ")
    private Long repeathandle;
 
    /**  过期处理;1.自动关闭 2.自动执行 3.人工处理  */
    @Excel(name = " 过期处理;1.自动关闭 2.自动执行 3.人工处理 ")
    private Long expirehandle;
 
    /**  自动结案;0.否 1.是  */
    @Excel(name = " 自动结案;0.否 1.是 ")
    private Long autofinsh;
 
    /**  基线时间;1.加入后 2.出院后 3.就诊后 4.入院后 5.手术前 6.手术后 7.开药前 8.检验申请后 9.检验完成后 10.检查申请后 11.检查完成后 12.事件发生后 13.基线日期后  */
    @Excel(name = " 基线时间;1.加入后 2.出院后 3.就诊后 4.入院后 5.手术前 6.手术后 7.开药前 8.检验申请后 9.检验完成后 10.检查申请后 11.检查完成后 12.事件发生后 13.基线日期后 ")
    private Long baselinetime;
 
    /**  触发条件;0.无 1.有  */
    @Excel(name = " 触发条件;0.无 1.有 ")
    private Long triggerornot;
 
    /**  是否启用  */
    @Excel(name = " 是否启用 ")
    private Long isenable;
 
    /**  机构ID  */
    @Excel(name = " 机构ID ")
    private String orgid;
 
    /**  删除标记  */
    private String delFlag;
 
    /**  上传标记  */
    @Excel(name = " 上传标记 ")
    private Long isupload;
 
    /**  上传时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 上传时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
 
    /**  状态;0未开启,1已开启,2关闭  */
    @Excel(name = " 状态;0未开启,1已开启,2关闭 ")
    private Long state;
 
    /**  开启人  */
    @Excel(name = " 开启人 ")
    private String openBy;
 
    /**  开启时间  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 开启时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date openTime;
 
    /**  中心库代码  */
    @Excel(name = " 中心库代码 ")
    private String centerlibrarycode;
 
    /**  是否本地  */
    @Excel(name = " 是否本地 ")
    private Long islocal;
 
    /**  是否通用;0.否 1.是  */
    @Excel(name = " 是否通用;0.否 1.是 ")
    private Long iscurrency;
 
    public void setId(Long id) 
    {
        this.id = id;
    }
 
    public Long getId() 
    {
        return id;
    }
    public void setSchemecategoryid(Long schemecategoryid) 
    {
        this.schemecategoryid = schemecategoryid;
    }
 
    public Long getSchemecategoryid() 
    {
        return schemecategoryid;
    }
    public void setSchemename(String schemename) 
    {
        this.schemename = schemename;
    }
 
    public String getSchemename() 
    {
        return schemename;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }
 
    public String getDescription() 
    {
        return description;
    }
    public void setTemplateid(Long templateid) 
    {
        this.templateid = templateid;
    }
 
    public Long getTemplateid() 
    {
        return templateid;
    }
    public void setVersion(BigDecimal version) 
    {
        this.version = version;
    }
 
    public BigDecimal getVersion() 
    {
        return version;
    }
    public void setSchemecode(String schemecode) 
    {
        this.schemecode = schemecode;
    }
 
    public String getSchemecode() 
    {
        return schemecode;
    }
    public void setCenterlibraryid(Long centerlibraryid) 
    {
        this.centerlibraryid = centerlibraryid;
    }
 
    public Long getCenterlibraryid() 
    {
        return centerlibraryid;
    }
    public void setPatientsource(Long patientsource) 
    {
        this.patientsource = patientsource;
    }
 
    public Long getPatientsource() 
    {
        return patientsource;
    }
    public void setBelongdeptid(String belongdeptid) 
    {
        this.belongdeptid = belongdeptid;
    }
 
    public String getBelongdeptid() 
    {
        return belongdeptid;
    }
    public void setRuledept(Long ruledept) 
    {
        this.ruledept = ruledept;
    }
 
    public Long getRuledept() 
    {
        return ruledept;
    }
    public void setBelongwardid(String belongwardid) 
    {
        this.belongwardid = belongwardid;
    }
 
    public String getBelongwardid() 
    {
        return belongwardid;
    }
    public void setRuleward(Long ruleward) 
    {
        this.ruleward = ruleward;
    }
 
    public Long getRuleward() 
    {
        return ruleward;
    }
    public void setRepeathandle(Long repeathandle) 
    {
        this.repeathandle = repeathandle;
    }
 
    public Long getRepeathandle() 
    {
        return repeathandle;
    }
    public void setExpirehandle(Long expirehandle) 
    {
        this.expirehandle = expirehandle;
    }
 
    public Long getExpirehandle() 
    {
        return expirehandle;
    }
    public void setAutofinsh(Long autofinsh) 
    {
        this.autofinsh = autofinsh;
    }
 
    public Long getAutofinsh() 
    {
        return autofinsh;
    }
    public void setBaselinetime(Long baselinetime) 
    {
        this.baselinetime = baselinetime;
    }
 
    public Long getBaselinetime() 
    {
        return baselinetime;
    }
    public void setTriggerornot(Long triggerornot) 
    {
        this.triggerornot = triggerornot;
    }
 
    public Long getTriggerornot() 
    {
        return triggerornot;
    }
    public void setIsenable(Long isenable) 
    {
        this.isenable = isenable;
    }
 
    public Long getIsenable() 
    {
        return isenable;
    }
    public void setOrgid(String orgid) 
    {
        this.orgid = orgid;
    }
 
    public String getOrgid() 
    {
        return orgid;
    }
    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;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }
 
    public Long getState() 
    {
        return state;
    }
    public void setOpenBy(String openBy) 
    {
        this.openBy = openBy;
    }
 
    public String getOpenBy() 
    {
        return openBy;
    }
    public void setOpenTime(Date openTime) 
    {
        this.openTime = openTime;
    }
 
    public Date getOpenTime() 
    {
        return openTime;
    }
    public void setCenterlibrarycode(String centerlibrarycode) 
    {
        this.centerlibrarycode = centerlibrarycode;
    }
 
    public String getCenterlibrarycode() 
    {
        return centerlibrarycode;
    }
    public void setIslocal(Long islocal) 
    {
        this.islocal = islocal;
    }
 
    public Long getIslocal() 
    {
        return islocal;
    }
    public void setIscurrency(Long iscurrency) 
    {
        this.iscurrency = iscurrency;
    }
 
    public Long getIscurrency() 
    {
        return iscurrency;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schemecategoryid", getSchemecategoryid())
            .append("schemename", getSchemename())
            .append("description", getDescription())
            .append("templateid", getTemplateid())
            .append("version", getVersion())
            .append("schemecode", getSchemecode())
            .append("centerlibraryid", getCenterlibraryid())
            .append("patientsource", getPatientsource())
            .append("belongdeptid", getBelongdeptid())
            .append("ruledept", getRuledept())
            .append("belongwardid", getBelongwardid())
            .append("ruleward", getRuleward())
            .append("repeathandle", getRepeathandle())
            .append("expirehandle", getExpirehandle())
            .append("autofinsh", getAutofinsh())
            .append("baselinetime", getBaselinetime())
            .append("triggerornot", getTriggerornot())
            .append("isenable", getIsenable())
            .append("orgid", getOrgid())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .append("state", getState())
            .append("openBy", getOpenBy())
            .append("openTime", getOpenTime())
            .append("centerlibrarycode", getCenterlibrarycode())
            .append("islocal", getIslocal())
            .append("iscurrency", getIscurrency())
            .toString();
    }
}