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(); 
 | 
    } 
 | 
} 
 |