fxkh-txl-service/src/main/java/com/whdc/model/entity/WarnCallMap.java

74 lines
2.5 KiB
Java
Raw Normal View History

2025-07-14 11:23:11 +08:00
package com.whdc.model.entity;
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;
import java.util.List;
/**
* @author lyf
* @since 2025-06-19
*/
@Data
@TableName("FXKH_TXL.WARN_CALL_MAP")
public class WarnCallMap {
/*
newwarnId,shouldGenerate,cnnm,requestId,custId,custName,warnName,warnTm,warnLevel,callContent,createTm
autoCallgenerated
uploaduploadRespMsg,uploaded
querycallIsPut,called
*/
@TableId(value = "ID", type = IdType.AUTO)
private Integer id;
@TableField(value = "warn_id")
private Integer warnId; //not null
@TableField(value = "should_generate")
private Integer shouldGenerate; //0:不生成1:生成, not null
@TableField(value = "generated")
private Integer generated; //0:未生成1:已生成, default 0
@TableField(value = "uploaded")
private Integer uploaded; //0:未上传1:已上传, default 0
@TableField(value = "cnnm")
private String cnnm;
@TableField(value = "upload_resp_msg")
private String uploadRespMsg;
@TableField(value = "request_id")
private String requestId; //任务名作为参数的taskName
@TableField(value = "cust_id")
private String custId; //联系人id
@TableField(value = "cust_name")
private String custName; //联系人
@TableField(value = "call_is_put")
private Integer callIsPut; //0:接通1:已接通, default 0
@TableField(value = "called")
private Integer called; //0:未拨打1:已拨打, default 0
@TableField(value = "err_step")
private Integer errStep; //0:初始化1:step1出错, 以此类推,default 0
@TableField(value = "warn_name")
private String warnName;
@TableField(value = "warn_tm")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date warnTm;
@TableField(value = "warn_level")
private String warnLevel;
@TableField(value = "call_content")
private String warnContent;
@TableField(value = "_create_tm")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date createTm;
@TableField(value = "_remark")
private String remark;
@TableField(exist = false)
private List<AutoCall> callList;
}