package com.fzzy.api.entity;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 用于非国标接口数据的存储
|
*
|
* @author czt
|
* @date 2023/08/07
|
*/
|
@Data
|
@Entity
|
@Table(name = "API_INFO_DATA")
|
public class ApiInfoData implements Serializable {
|
|
|
public static String TYPE_PUSH = "push";
|
public static String TYPE_SYNC = "sync";
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = -3873863428841103422L;
|
|
@Id
|
@Column(name = "id", length = 40)
|
private String id;
|
|
@PropertyDef(label = "库区代码")
|
@Column(name = "kqdm", length = 50)
|
private String kqdm;
|
|
@PropertyDef(label = "接口类型")
|
@Column(name = "inteType", length = 10)
|
private String inteType;
|
|
@PropertyDef(label = "业务类型" , description = "协议编码")
|
@Column(name = "BIZ_Type", length = 20)
|
private String bizType;
|
|
@PropertyDef(label = "接口编号")
|
@Column(name = "inteId", length = 10)
|
private String inteId;
|
|
@PropertyDef(label = "操作标志")
|
@Column(name = "czbz", length = 1)
|
private String czbz;
|
|
@PropertyDef(label = "最后更新时间")
|
@Column(name = "updateTime")
|
private Date updateTime;
|
|
@PropertyDef(label = "接口数据主键")
|
@Column(name = "dataId", length = 40)
|
private String dataId;
|
|
@PropertyDef(label = "数据内容")
|
@Column(name = "data", length = 2000)
|
private String data;
|
|
@PropertyDef(label = "备注信息")
|
@Column(name = "remarks", length = 2000)
|
private String remarks;
|
|
}
|