package com.xinelu.manage.vo.signpatientmanageroute;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 话术类型代办处理详情返回VO
 *
 * @author zh
 * @date 2024-06-12
 */
@Data
public class PhonePush {

    @ApiModelProperty(value = "管理路径节点名称，出院后：AFTER_DISCHARGE，入院后：AFTER_ADMISSION，就诊后：AFTER_CONSULTATION")
    private String routeNodeName;

    @ApiModelProperty(value = "管理路径节点时间，时间单位为：天")
    private String routeNodeDay;

    @ApiModelProperty(value = "患者id")
    private Long patientId;

    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    @ApiModelProperty(value = "患者电话")
    private String patientPhone;

    @ApiModelProperty(value = "电话推送标识")
    private Integer phonePushSign;

    @ApiModelProperty(value = "电话话术表id")
    private Long scriptInfoId;

    @ApiModelProperty(value = "电话模板ID")
    private String phoneTemplateId;

    @ApiModelProperty(value = "电话模板名称")
    private String phoneTemplateName;

    @ApiModelProperty(value = "电话内容")
    private String phoneNodeContent;

    @ApiModelProperty(value = "电话呼叫类型")
    private String phoneDialMethod;

    @ApiModelProperty(value = "电话重拨次数，重拨一次：REDIAL_ONCE，重拨二次：REDIAL_TWICE，不重播：NOT_REPLAY")
    private String phoneRedialTimes;

    @ApiModelProperty(value = "电话时间间隔，单位为：分钟")
    private Integer phoneTimeInterval;

    @ApiModelProperty(value = "电话短信提醒，不发送短信：NOT_SEND_MESSAGE，未接通发短信：NOT_CONNECTED_SEND_MESSAGE，接通后发短信：CONNECTED_SEND_MESSAGE，所有人发短信：EVERYONE_SEND_MESSAGE")
    private String phoneMessageRemind;

    @ApiModelProperty(value = "电话接通状态，默认已接通：CONNECTED；未接通:NOTCONNECTED")
    private String phoneConnectStatus;

    @ApiModelProperty(value = "任务处理信息")
    private String routeHandleRemark;

    @ApiModelProperty(value = "电话短信模板表id")
    private Long phoneMessageTemplateId;

    @ApiModelProperty(value = "电话短信模板表code")
    private String phoneMessageTemplateCode;

    @ApiModelProperty(value = "电话短信模板名称")
    private String phoneMessageTemplateName;

    @ApiModelProperty(value = "替换标签之后的电话短信内容")
    private String phoneMessageTemplateContent;

    @ApiModelProperty(value = "电话拨通情况")
    private String phoneNodeExecuteResultStatus;

    @ApiModelProperty(value = "电话短信发送情况")
    private String phoneMessageNodeExecuteResultStatus;

    @ApiModelProperty(value = "第一次拨打时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime firstTime;

    @ApiModelProperty(value = "第二次拨打时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime secondTime;

    @ApiModelProperty(value = "第三次拨打时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime thirdTime;
}
