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

74 lines
2.5 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.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 {
/*
new的时候必填warnId,shouldGenerate,cnnm,requestId,custId,custName,warnName,warnTm,warnLevel,callContent,createTm
生成autoCall后必填generated
upload后必填uploadRespMsg,uploaded
query后必填callIsPut,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;
}