package com.smartor.domain; 
 | 
  
 | 
import java.util.Date; 
 | 
  
 | 
import com.fasterxml.jackson.annotation.JsonFormat; 
 | 
import io.swagger.annotations.ApiModelProperty; 
 | 
import lombok.Data; 
 | 
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; 
 | 
  
 | 
/** 
 | 
 * 综合问卷任务(任务)对象 svy_task 
 | 
 * 
 | 
 * @author ruoyi 
 | 
 * @date 2024-06-12 
 | 
 */ 
 | 
@Data 
 | 
public class SvyTask extends BaseEntity { 
 | 
    private static final long serialVersionUID = 1L; 
 | 
  
 | 
    /** 
 | 
     * 
 | 
     */ 
 | 
    @ApiModelProperty(value = "任务ID") 
 | 
    private Long taskid; 
 | 
  
 | 
    /** 
 | 
     * 患者服务任务id 
 | 
     */ 
 | 
    @Excel(name = "患者服务任务id") 
 | 
    @ApiModelProperty(value = "患者服务任务id") 
 | 
    private Long svrtaskid; 
 | 
  
 | 
    /** 
 | 
     * 
 | 
     */ 
 | 
    @Excel(name = "  ") 
 | 
    @ApiModelProperty(value = "任务名称") 
 | 
    private String taskName; 
 | 
  
 | 
    /** 
 | 
     * 
 | 
     */ 
 | 
    @Excel(name = "  ") 
 | 
    @ApiModelProperty(value = "任务描述") 
 | 
    private String taskDesc; 
 | 
  
 | 
    /** 
 | 
     * 模板ID 
 | 
     */ 
 | 
    @Excel(name = "  模板ID") 
 | 
    @ApiModelProperty(value = "模板ID") 
 | 
    private String templateid; 
 | 
  
 | 
    /** 
 | 
     * 模板名称 
 | 
     */ 
 | 
    @Excel(name = "  模板名称") 
 | 
    @ApiModelProperty(value = "模板名称") 
 | 
    private String templatename; 
 | 
  
 | 
    /** 
 | 
     * 标签信息 
 | 
     */ 
 | 
    @Excel(name = "  标签信息") 
 | 
    @ApiModelProperty(value = "标签信息") 
 | 
    private String labelinfo; 
 | 
  
 | 
    /** 
 | 
     * 状态 
 | 
     */ 
 | 
    @Excel(name = "  状态") 
 | 
    @ApiModelProperty(value = "状态") 
 | 
    private Long state; 
 | 
  
 | 
    /** 
 | 
     * 数量 
 | 
     */ 
 | 
    @Excel(name = "  数量") 
 | 
    @ApiModelProperty(value = "数量") 
 | 
    private Long count; 
 | 
  
 | 
    /** 
 | 
     * 执行 
 | 
     */ 
 | 
    @Excel(name = "  执行") 
 | 
    @ApiModelProperty(value = "执行") 
 | 
    private Long executed; 
 | 
  
 | 
    /** 
 | 
     * 不执行 
 | 
     */ 
 | 
    @Excel(name = "  不执行") 
 | 
    @ApiModelProperty(value = "不执行") 
 | 
    private Long unexecuted; 
 | 
  
 | 
    /** 
 | 
     * 是否失败 
 | 
     */ 
 | 
    @Excel(name = "  是否失败") 
 | 
    @ApiModelProperty(value = "是否失败") 
 | 
    private Long fail; 
 | 
  
 | 
    /** 
 | 
     * 患者ID 
 | 
     */ 
 | 
    @Excel(name = "  患者ID") 
 | 
    @ApiModelProperty(value = "患者ID") 
 | 
    private String patientid; 
 | 
  
 | 
    /** 
 | 
     * 患者名称 
 | 
     */ 
 | 
    @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; 
 | 
  
 | 
    /** 
 | 
     * 审核人id 
 | 
     */ 
 | 
    @Excel(name = "  审核人id") 
 | 
    @ApiModelProperty(value = "审核人id") 
 | 
    private String checkuserid; 
 | 
  
 | 
    /** 
 | 
     * 审核人 
 | 
     */ 
 | 
    @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,宣教; 
 | 
     */ 
 | 
    @Excel(name = " 1,出院随访;2,体检通知;3,满意度调查;4,宣教; ") 
 | 
    @ApiModelProperty(value = "出院随访;2,体检通知;3,满意度调查;4,宣教;") 
 | 
    private String type; 
 | 
  
 | 
    /** 
 | 
     * 类型名称 
 | 
     */ 
 | 
    @Excel(name = "  类型名称") 
 | 
    @ApiModelProperty(value = "类型名称") 
 | 
    private String typename; 
 | 
  
 | 
    /** 
 | 
     * 0.不使用播前短信 1.使用播前短信 
 | 
     */ 
 | 
    @Excel(name = " 0.不使用播前短信 1.使用播前短信 ") 
 | 
    @ApiModelProperty(value = "0.不使用播前短信 1.使用播前短信") 
 | 
    private Long usebqsms; 
 | 
  
 | 
    /** 
 | 
     * 0.不使用播后短信 1.使用播前短信 
 | 
     */ 
 | 
    @Excel(name = " 0.不使用播后短信 1.使用播前短信 ") 
 | 
    @ApiModelProperty(value = " 0.不使用播后短信 1.使用播前短信") 
 | 
    private Long usebhsms; 
 | 
  
 | 
    /** 
 | 
     * 
 | 
     */ 
 | 
    @Excel(name = "  ") 
 | 
    @ApiModelProperty(value = "") 
 | 
    private Long usesendsms; 
 | 
  
 | 
    /** 
 | 
     * 部门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 
 | 
     */ 
 | 
    @Excel(name = " 机构ID ") 
 | 
    @ApiModelProperty(value = "机构ID") 
 | 
    private String orgid; 
 | 
  
 | 
    /** 
 | 
     * 父ID 
 | 
     */ 
 | 
    @Excel(name = "父ID") 
 | 
    @ApiModelProperty(value = "父ID") 
 | 
    private Long pid; 
 | 
  
 | 
    /** 
 | 
     * GUID 
 | 
     */ 
 | 
    @Excel(name = "GUID") 
 | 
    @ApiModelProperty(value = "GUID") 
 | 
    private String guid; 
 | 
  
 | 
    /** 
 | 
     * 任务形式 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; 
 | 
  
 | 
    /** 
 | 
     * 是否发送 : 0 暂停发送  1 定时发送  2 立即发送 
 | 
     */ 
 | 
    @Excel(name = "是否发送 : 0 暂停发送  1 定时发送  2 立即发送  ") 
 | 
    @ApiModelProperty(value = "是否发送 : 0 暂停发送  1 定时发送  2 立即发送") 
 | 
    private Long sendType; 
 | 
  
 | 
    /** 
 | 
     * 发送状态: 1新建 2执行中 3暂停 4终止 5完成 
 | 
     */ 
 | 
    @Excel(name = "发送状态: 1新建 2执行中 3暂停 4终止 5完成") 
 | 
    @ApiModelProperty(value = "发送状态: 1新建 2执行中 3暂停 4终止 5完成") 
 | 
    private String sendState; 
 | 
  
 | 
    /** 
 | 
     * 文本变量参数 
 | 
     */ 
 | 
    @Excel(name = "文本变量参数") 
 | 
    @ApiModelProperty(value = "文本变量参数") 
 | 
    private String param; 
 | 
  
 | 
    /** 
 | 
     * 文本变量参数 
 | 
     */ 
 | 
    @Excel(name = "文本变量参数") 
 | 
    @ApiModelProperty(value = "文本变量参数") 
 | 
    private String textParam; 
 | 
  
 | 
    /** 
 | 
     * 暂停状态 : 状态如果发生修改,值就加1 
 | 
     */ 
 | 
    @Excel(name = "暂停状态 : 状态如果发生修改,值就加1") 
 | 
    @ApiModelProperty(value = "暂停状态 : 状态如果发生修改,值就加1") 
 | 
    private Long stopState = 0L; 
 | 
  
 | 
    @ApiModelProperty(value = "上午时间") 
 | 
    private String showTimeMorn; 
 | 
  
 | 
    @ApiModelProperty(value = "中午时间") 
 | 
    private String showTimeNoon; 
 | 
  
 | 
    @ApiModelProperty(value = "晚午时间") 
 | 
    private String showTimeNight; 
 | 
  
 | 
    @ApiModelProperty(value = "展示日期") 
 | 
    private String showDate; 
 | 
  
 | 
    /** 
 | 
     * 类型名称 
 | 
     */ 
 | 
    @Excel(name = "发送时间段") 
 | 
    @ApiModelProperty(value = "发送时间段") 
 | 
    private String sendTimeSlot; 
 | 
  
 | 
    /** 
 | 
     * 模板库模版名称 
 | 
     */ 
 | 
    @Excel(name = "模板库模版名称") 
 | 
    private String libtemplatename; 
 | 
  
 | 
    /** 
 | 
     * 模板库模版ID 
 | 
     */ 
 | 
    @Excel(name = "模板库模版ID") 
 | 
    private String libtemplateid; 
 | 
  
 | 
    /** 
 | 
     * pageNum 
 | 
     */ 
 | 
    @ApiModelProperty("pageNum") 
 | 
    private Integer pageNum; 
 | 
  
 | 
    /** 
 | 
     * pageSize 
 | 
     */ 
 | 
    @ApiModelProperty("pageSize") 
 | 
    private Integer pageSize; 
 | 
  
 | 
} 
 |