fxkh-txl-service/src/main/java/com/whdc/model/autocall/AutoCallPerson.java

96 lines
3.8 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.whdc.model.autocall;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
/**
* @author lyf
* @since 2025-07-08
*/
@Data
@TableName("FXKH_TXL.AUTO_CALL_PERSON")
public class AutoCallPerson {
public static final int STATUS_DEFAULT = 0;
public static final int STATUS_UPLOADED = 1;
public static final int STATUS_CALLED = 2;
public static final int STATUS_PUT = 3;
public static final int STATUS_CANCELLED = 4;
public static final int STATUS_MANUAL_CLOSE = 6;
public static final int ERRCODE_ENCODE = 1;
public static final int ERRCODE_UPLOAD_FAIL = 2;
@TableId(value = "ID", type = IdType.AUTO)
private Integer id;
@TableField(value = "task_id")
private Integer taskId;
@TableField(value = "status")
private Integer status; //0:未上传 default 0
@TableField(value = "level")
private Integer level;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@TableField(value = "_create_tm")
private Date createTm;
@TableField(value = "error_code")
private Integer errorCode; //default 0
@TableField(value = "uploaded_times")
private Integer uploadedTimes; //default 0
@TableField(value = "sms_content")
private String smsContent; //短信内容
@TableField(value = "manual_close")
private Integer manualClose; //default 0
@TableField(value = "position")
private String position;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@TableField(value = "manual_close_tm")
private Date manualCloseTm;
@TableField(value = "__request_id")
private String uploadRequestId; //任务名同时作为参数的taskName用custId
@TableField(value = "__cust_id")
private String uploadCustId; //联系人id用warningResponderId加时间戳毫秒
@TableField(value = "__cust_name")
private String uploadCustName; //联系人
@TableField(value = "__content")
private String uploadContent; //外呼内容
@TableField(value = "__number")
private String uploadNumber;
@TableField(value = "__upload_resp_msg")
private String uploadRespMsg; //上传结果
@TableField(value = "__remark")
private String detailRemark;//接通,空号,停机,关机,未接,拒接,占线,呼叫失败,null(空代表未呼叫)
@TableField(value = "__talk_times")
private Integer detailTalkTimes;//通话时长,单位秒
@TableField(value = "__sip_term_cause")
private String detailSipTermCause; //例如”对方挂机“
@TableField(value = "__tag")
private String tag; //话术识别:未识别,已知晓
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@TableField(value = "__startring_at")
private Date detailStartringAt; //-3
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@TableField(value = "__connected_at")
private Date detailConnectedAt; //-3
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@TableField(value = "__started_at")
private Date detailStartedAt;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@TableField(value = "__endring_at")
private Date detailEndringAt; //-3
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@TableField(value = "__disconnected_at")
private Date detailDisconnectedAt; //-3
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@TableField(value = "__stopped_at")
private Date detailStopedAt;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@TableField(value = "__last_modify")
private Date detailLastModify;
}