liusheng
2024-06-06 ef81a5cbfbb98974ed1ba54d0e47b7e74a9b96b9
smartor/src/main/java/com/smartor/domain/IvrTask.java
@@ -1,395 +1,319 @@
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;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
 * 语音任务对象 ivr_task
 *
 *
 * @author smartor
 * @date 2023-03-24
 */
public class IvrTask extends BaseEntity
{
@ApiModel(value = "IvrTask", description = "任务对象")
@Data
public class IvrTask extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**    */
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long taskid;
    /**    */
    @Excel(name = "  ")
    private String taskname;
    /**
     * 任务名称
     */
    @Excel(name = "任务名称  ")
    @ApiModelProperty(value = "任务名称")
    private String taskName;
    /**    */
    @Excel(name = "  ")
    private String templateid;
    /**
     * 模板ID
     */
    @Excel(name = "模板ID ")
    @ApiModelProperty(value = "模板ID")
    private Long templateid;
    /**    */
    @Excel(name = "  ")
    /**
     * 模板库模版名称
     */
    @Excel(name = "模板库模版名称")
    private String libtemplatename;
    /**
     * 模板库模版ID
     */
    @Excel(name = "模板库模版ID")
    private String libtemplateid;
    /**
     * 模板名称
     */
    @Excel(name = "模板名称")
    @ApiModelProperty(value = "模板名称")
    private String templatename;
    /**    */
    @Excel(name = "  ")
    /**
     * 标签信息
     */
    @Excel(name = "标签信息")
    @ApiModelProperty(value = "标签信息")
    private String labelinfo;
    /**    */
    @Excel(name = "  ")
    private Long state;
//    /**
//     * 状态
//     */
//    @Excel(name = "状态")
//    @ApiModelProperty(value = "状态")
//    private Long state;
    /**    */
    @Excel(name = "  ")
    /**
     * 数量
     */
    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private Long count;
    /**    */
    @Excel(name = "  ")
    /**
     * 执行
     */
    @Excel(name = "执行")
    @ApiModelProperty(value = "执行")
    private Long executed;
    /**    */
    @Excel(name = "  ")
    /**
     * 不执行
     */
    @Excel(name = "不执行")
    @ApiModelProperty(value = "不执行")
    private Long unexecuted;
    /**    */
    @Excel(name = "  ")
    /**
     * 是否失败
     */
    @Excel(name = "是否失败")
    @ApiModelProperty(value = "是否失败")
    private Long fail;
    /**    */
    @Excel(name = "  ")
    private String userid;
    /**
     * 患者ID
     */
    @Excel(name = "患者ID")
    @ApiModelProperty(value = "患者ID")
    private String patientid;
    /**    */
    @Excel(name = "  ")
    private String username;
    /**
     * 患者姓名
     */
    @Excel(name = "患者姓名")
    @ApiModelProperty(value = "患者姓名")
    private String patientname;
    /**    */
    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "  ", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "添加时间")
    private Date addtime;
    /**    */
    @Excel(name = "  ")
    /**
     * 审核人id
     */
    @Excel(name = "审核人id")
    @ApiModelProperty(value = "审核人id")
    private String checkuserid;
    /**    */
    @Excel(name = "  ")
    /**
     * 审核人
     */
    @Excel(name = "审核人")
    @ApiModelProperty(value = "审核人")
    private String checkusername;
    /**    */
    /**
     * 审核人时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "  ", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "审核人时间")
    private Date checktime;
    /**  1,出院随访;2,体检通知;3,满意度调查;4,宣教;  */
    /**
     * 1,出院随访;2,体检通知;3,满意度调查;4,宣教;
     */
    @Excel(name = " 1,出院随访;2,体检通知;3,满意度调查;4,宣教; ")
    @ApiModelProperty(value = "1,出院随访;2,体检通知;3,满意度调查;4,宣教;")
    private String type;
    /**    */
    @Excel(name = "  ")
    /**
     * 类型名称
     */
    @Excel(name = "类型名称")
    @ApiModelProperty(value = "类型名称")
    private String typename;
    /**  0.不使用播前短信 1.使用播前短信  */
    @Excel(name = " 0.不使用播前短信 1.使用播前短信 ")
    private Long usebqsms;
    /**  0.不使用播后短信 1.使用播前短信  */
    @Excel(name = " 0.不使用播后短信 1.使用播前短信 ")
    private Long usebhsms;
    /**
     * 类型名称
     */
    @Excel(name = "发送时间段")
    @ApiModelProperty(value = "发送时间段")
    private String sendTimeSlot;
    /**    */
    @Excel(name = "  ")
    private Long usesendsms;
//    /**
//     * 0.不使用播前短信 1.使用播前短信
//     */
//    @Excel(name = " 0.不使用播前短信 1.使用播前短信 ")
//    @ApiModelProperty(value = "科室名称")
//    private Long usebqsms;
//
//    /**
//     * 0.不使用播后短信 1.使用播前短信
//     */
//    @Excel(name = " 0.不使用播后短信 1.使用播前短信 ")
//    @ApiModelProperty(value = "0.不使用播前短信 1.使用播前短信 ")
//    private Long usebhsms;
//
//    /**
//     * 0.不使用播后短信 1.使用播后短信
//     */
//    @Excel(name = " 0.不使用播后短信 1.使用播后短信 ")
//    @ApiModelProperty(value = " 0.不使用播后短信 1.使用播后短信 ")
//    private Long usesendsms;
    /**    */
    @Excel(name = "  ")
    /**
     * 部门code
     */
    @Excel(name = "部门code")
    @ApiModelProperty(value = "部门code")
    private String deptcode;
    /**  删除标记  */
    /**
     * 删除
     */
    @ApiModelProperty(value = "删除")
    private String delFlag;
    /**  上传标记  */
    /**
     * 上传标记
     */
    @Excel(name = " 上传标记 ")
    @ApiModelProperty(value = "上传标记")
    private Long isupload;
    /**  上传时间  */
    /**
     * 上传时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " 上传时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "上传时间")
    private Date uploadTime;
    /**  机构ID  */
    /**
     * 机构ID
     */
    @Excel(name = " 机构ID ")
    @ApiModelProperty(value = "机构ID ")
    private String orgid;
    public void setTaskid(Long taskid)
    {
        this.taskid = taskid;
    }
    /**
     * 父ID
     */
    @Excel(name = " 父ID ")
    @ApiModelProperty(value = "父ID ")
    private Integer pid;
    public Long getTaskid()
    {
        return taskid;
    }
    public void setTaskname(String taskname)
    {
        this.taskname = taskname;
    }
    /**
     * guid
     */
    @Excel(name = " guid ")
    @ApiModelProperty(value = "guid ")
    private String guid;
    public String getTaskname()
    {
        return taskname;
    }
    public void setTemplateid(String templateid)
    {
        this.templateid = templateid;
    }
    /**
     * 任务形式 1,多媒体   2,纸质  3,电话  4,短信  5.微信公众号 6.微信小程序  7.支付宝  8.智能小程序  9.钉钉
     */
    @Excel(name = "  任务形式 1,多媒体   2,纸质  3,电话  4,短信  5.微信公众号 6.微信小程序  7.支付宝  8.智能小程序  9.钉钉 ")
    @ApiModelProperty(value = " 任务形式 1,多媒体   2,纸质  3,电话  4,短信  5.微信公众号 6.微信小程序  7.支付宝  8.智能小程序  9.钉钉 ")
    private String preachform;
    public String getTemplateid()
    {
        return templateid;
    }
    public void setTemplatename(String templatename)
    {
        this.templatename = templatename;
    }
    /**
     * 发送类型: 1指定时间发送 2即刻发送
     */
    @Excel(name = " 发送类型: 1指定时间发送 2即刻发送 ")
    @ApiModelProperty(value = "发送类型: 1指定时间发送 2即刻发送 ")
    private Long sendType;
    public String getTemplatename()
    {
        return templatename;
    }
    public void setLabelinfo(String labelinfo)
    {
        this.labelinfo = labelinfo;
    }
    /**
     * 发送状态:  0  失败   1成功
     */
    @Excel(name = " 发送状态: 1创建   2执行中   3 暂停   4终止  5完成 ")
    @ApiModelProperty(value = "发送状态: 1创建   2执行中   3 暂停   4终止  5完成 ")
    private Integer sendState;
    public String getLabelinfo()
    {
        return labelinfo;
    }
    public void setState(Long state)
    {
        this.state = state;
    }
//    /**
//     * 文本变量参数
//     */
//    @Excel(name = " 文本变量参数 ")
//    @ApiModelProperty(value = "文本变量参数 ")
//    private String param;
    public Long getState()
    {
        return state;
    }
    public void setCount(Long count)
    {
        this.count = count;
    }
    /**
     * pageNum
     */
    @ApiModelProperty("pageNum")
    private Integer pageNum;
    public Long getCount()
    {
        return count;
    }
    public void setExecuted(Long executed)
    {
        this.executed = executed;
    }
    /**
     * pageSize
     */
    @ApiModelProperty("pageSize")
    private Integer pageSize;
    public Long getExecuted()
    {
        return executed;
    }
    public void setUnexecuted(Long unexecuted)
    {
        this.unexecuted = unexecuted;
    }
    /**
     * 就诊类型(1门诊  2出院)
     */
    @Excel(name = "  就诊类型(1门诊  2出院)")
    @ApiModelProperty(value = "就诊类型(1门诊  2出院 3.专病)")
    private String hospType;
    public Long getUnexecuted()
    {
        return unexecuted;
    }
    public void setFail(Long fail)
    {
        this.fail = fail;
    }
    /**
     * 任务描述
     */
    @Excel(name = "任务描述")
    @ApiModelProperty(value = "任务描述")
    private String taskDesc;
    public Long getFail()
    {
        return fail;
    }
    public void setUserid(String userid)
    {
        this.userid = userid;
    }
    /**
     * 暂停状态 : 状态如果发生修改,值就加1
     */
    @Excel(name = "暂停状态 : 状态如果发生修改,值就加1")
    @ApiModelProperty(value = "暂停状态 : 状态如果发生修改,值就加1")
    private Long stopState = 0L;
    public String getUserid()
    {
        return userid;
    }
    public void setUsername(String username)
    {
        this.username = username;
    }
    /**
     * 文本变量参数
     */
    @Excel(name = "文本变量参数")
    @ApiModelProperty(value = "文本变量参数")
    private String textParam;
    public String getUsername()
    {
        return username;
    }
    public void setAddtime(Date addtime)
    {
        this.addtime = addtime;
    }
    @ApiModelProperty(value = "上午时间")
    private String showTimeMorn;
    public Date getAddtime()
    {
        return addtime;
    }
    public void setCheckuserid(String checkuserid)
    {
        this.checkuserid = checkuserid;
    }
    @ApiModelProperty(value = "中午时间")
    private String showTimeNoon;
    public String getCheckuserid()
    {
        return checkuserid;
    }
    public void setCheckusername(String checkusername)
    {
        this.checkusername = checkusername;
    }
    @ApiModelProperty(value = "晚午时间")
    private String showTimeNight;
    public String getCheckusername()
    {
        return checkusername;
    }
    public void setChecktime(Date checktime)
    {
        this.checktime = checktime;
    }
    public Date getChecktime()
    {
        return checktime;
    }
    public void setType(String type)
    {
        this.type = type;
    }
    public String getType()
    {
        return type;
    }
    public void setTypename(String typename)
    {
        this.typename = typename;
    }
    public String getTypename()
    {
        return typename;
    }
    public void setUsebqsms(Long usebqsms)
    {
        this.usebqsms = usebqsms;
    }
    public Long getUsebqsms()
    {
        return usebqsms;
    }
    public void setUsebhsms(Long usebhsms)
    {
        this.usebhsms = usebhsms;
    }
    public Long getUsebhsms()
    {
        return usebhsms;
    }
    public void setUsesendsms(Long usesendsms)
    {
        this.usesendsms = usesendsms;
    }
    public Long getUsesendsms()
    {
        return usesendsms;
    }
    public void setDeptcode(String deptcode)
    {
        this.deptcode = deptcode;
    }
    public String getDeptcode()
    {
        return deptcode;
    }
    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 setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskid", getTaskid())
            .append("taskname", getTaskname())
            .append("templateid", getTemplateid())
            .append("templatename", getTemplatename())
            .append("labelinfo", getLabelinfo())
            .append("state", getState())
            .append("count", getCount())
            .append("executed", getExecuted())
            .append("unexecuted", getUnexecuted())
            .append("fail", getFail())
            .append("userid", getUserid())
            .append("username", getUsername())
            .append("addtime", getAddtime())
            .append("checkuserid", getCheckuserid())
            .append("checkusername", getCheckusername())
            .append("checktime", getChecktime())
            .append("type", getType())
            .append("typename", getTypename())
            .append("usebqsms", getUsebqsms())
            .append("usebhsms", getUsebhsms())
            .append("usesendsms", getUsesendsms())
            .append("deptcode", getDeptcode())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .append("orgid", getOrgid())
            .toString();
    }
    @ApiModelProperty(value = "展示日期")
    private String showDate;
}