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_triggerrule
|
*
|
* @author smartor
|
* @date 2023-03-04
|
*/
|
public class SchemeTriggerrule extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 自增ID */
|
private Long id;
|
|
/** 条件类型;1.患者属性 2.诊疗信息 3.监测值 4.任务信息 */
|
@Excel(name = " 条件类型;1.患者属性 2.诊疗信息 3.监测值 4.任务信息 ")
|
private Long conditionstype;
|
|
/** 且或 */
|
@Excel(name = " 且或 ")
|
private Long orand;
|
|
/** 规则条件 */
|
@Excel(name = " 规则条件 ")
|
private String ruleconditions;
|
|
/** 父条件 */
|
@Excel(name = " 父条件 ")
|
private String parentresultconditionsid;
|
|
/** 机构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;
|
|
/** 方案ID */
|
@Excel(name = " 方案ID ")
|
private Long schemeid;
|
|
/** 触发场景ID */
|
@Excel(name = " 触发场景ID ")
|
private Long triggersceneid;
|
|
/** */
|
@Excel(name = " ")
|
private Long conditionstypesecord;
|
|
/** 三级条件类型 */
|
@Excel(name = " 三级条件类型 ")
|
private String conditionstypethree;
|
|
/** 验证规则;数值直接输入;范围用横杠(1-100);多选逗号隔开(1,2,3);相应类型的主键 */
|
@Excel(name = " 验证规则;数值直接输入;范围用横杠", readConverterExp = "1=-100")
|
private String verifyrule;
|
|
/** 额外规则条件 */
|
@Excel(name = " 额外规则条件 ")
|
private String extraruleconditions;
|
|
/** 额外验证规则 */
|
@Excel(name = " 额外验证规则 ")
|
private String extraverifyrule;
|
|
/** 分组编号 */
|
@Excel(name = " 分组编号 ")
|
private Long number;
|
|
/** 父级分组 */
|
@Excel(name = " 父级分组 ")
|
private Long groupnumber;
|
|
/** 父且或 */
|
@Excel(name = " 父且或 ")
|
private Long grouporand;
|
|
/** 是否必填 */
|
@Excel(name = " 是否必填 ")
|
private Long isrequired;
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
public void setConditionstype(Long conditionstype)
|
{
|
this.conditionstype = conditionstype;
|
}
|
|
public Long getConditionstype()
|
{
|
return conditionstype;
|
}
|
public void setOrand(Long orand)
|
{
|
this.orand = orand;
|
}
|
|
public Long getOrand()
|
{
|
return orand;
|
}
|
public void setRuleconditions(String ruleconditions)
|
{
|
this.ruleconditions = ruleconditions;
|
}
|
|
public String getRuleconditions()
|
{
|
return ruleconditions;
|
}
|
public void setParentresultconditionsid(String parentresultconditionsid)
|
{
|
this.parentresultconditionsid = parentresultconditionsid;
|
}
|
|
public String getParentresultconditionsid()
|
{
|
return parentresultconditionsid;
|
}
|
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 setSchemeid(Long schemeid)
|
{
|
this.schemeid = schemeid;
|
}
|
|
public Long getSchemeid()
|
{
|
return schemeid;
|
}
|
public void setTriggersceneid(Long triggersceneid)
|
{
|
this.triggersceneid = triggersceneid;
|
}
|
|
public Long getTriggersceneid()
|
{
|
return triggersceneid;
|
}
|
public void setConditionstypesecord(Long conditionstypesecord)
|
{
|
this.conditionstypesecord = conditionstypesecord;
|
}
|
|
public Long getConditionstypesecord()
|
{
|
return conditionstypesecord;
|
}
|
public void setConditionstypethree(String conditionstypethree)
|
{
|
this.conditionstypethree = conditionstypethree;
|
}
|
|
public String getConditionstypethree()
|
{
|
return conditionstypethree;
|
}
|
public void setVerifyrule(String verifyrule)
|
{
|
this.verifyrule = verifyrule;
|
}
|
|
public String getVerifyrule()
|
{
|
return verifyrule;
|
}
|
public void setExtraruleconditions(String extraruleconditions)
|
{
|
this.extraruleconditions = extraruleconditions;
|
}
|
|
public String getExtraruleconditions()
|
{
|
return extraruleconditions;
|
}
|
public void setExtraverifyrule(String extraverifyrule)
|
{
|
this.extraverifyrule = extraverifyrule;
|
}
|
|
public String getExtraverifyrule()
|
{
|
return extraverifyrule;
|
}
|
public void setNumber(Long number)
|
{
|
this.number = number;
|
}
|
|
public Long getNumber()
|
{
|
return number;
|
}
|
public void setGroupnumber(Long groupnumber)
|
{
|
this.groupnumber = groupnumber;
|
}
|
|
public Long getGroupnumber()
|
{
|
return groupnumber;
|
}
|
public void setGrouporand(Long grouporand)
|
{
|
this.grouporand = grouporand;
|
}
|
|
public Long getGrouporand()
|
{
|
return grouporand;
|
}
|
public void setIsrequired(Long isrequired)
|
{
|
this.isrequired = isrequired;
|
}
|
|
public Long getIsrequired()
|
{
|
return isrequired;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("conditionstype", getConditionstype())
|
.append("orand", getOrand())
|
.append("ruleconditions", getRuleconditions())
|
.append("parentresultconditionsid", getParentresultconditionsid())
|
.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("schemeid", getSchemeid())
|
.append("triggersceneid", getTriggersceneid())
|
.append("conditionstypesecord", getConditionstypesecord())
|
.append("conditionstypethree", getConditionstypethree())
|
.append("verifyrule", getVerifyrule())
|
.append("extraruleconditions", getExtraruleconditions())
|
.append("extraverifyrule", getExtraverifyrule())
|
.append("number", getNumber())
|
.append("groupnumber", getGroupnumber())
|
.append("grouporand", getGrouporand())
|
.append("isrequired", getIsrequired())
|
.toString();
|
}
|
}
|