package com.fzzy.api.entity;
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
|
import javax.persistence.*;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 接口表-文件信息
|
*/
|
@Data
|
@Entity
|
@Table(name = "API_1109")
|
|
public class Api1109 implements Serializable {
|
|
public static String SORT_PROP = "id";
|
/**
|
*
|
*/
|
private static final long serialVersionUID = -6615204510395829490L;
|
|
@Id
|
@Column(name = "ID_", length = 40)
|
@JSONField(serialize = false)
|
private String id;
|
|
@PropertyDef(label = "文件地址")
|
@Column(name = "wjdz")
|
@JSONField(serialize = false)
|
private String wjdz;
|
|
@PropertyDef(label = "文件名称")
|
@Column(name = "wjmc", length = 37)
|
private String wjmc;
|
|
@PropertyDef(label = "库区代码")
|
@Column(name = "kqdm", length = 21)
|
private String kqdm;
|
|
@PropertyDef(label = "文件id")
|
@Column(name = "fileStorageId", length = 20)
|
private String fileStorageId;
|
|
@PropertyDef(label = "文件类型", description = "1:库区鸟瞰图 2:入库图片 3:出库图片 4:入库检斤视频(截取检斤时间前后各 5秒钟视频)5:出库检斤视频(截取检斤时间前后各 5 秒钟视频)104:熏蒸备案接口附件")
|
@Column(name = "wjlx", length = 3)
|
private String wjlx;
|
|
@PropertyDef(label = "文件流")
|
//@Column(name = "wjl")
|
private String wjl;
|
|
@PropertyDef(label = "操作标志")
|
@Column(name = "czbz", length = 1)
|
private String czbz;
|
|
@PropertyDef(label = "最后更新时间")
|
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
@Column(name = "zhgxsj", nullable = false)
|
private Date zhgxsj;
|
|
@JSONField(serialize = false)
|
@PropertyDef(label = "业务id")
|
@Column(name = "bizId", length = 40)
|
private String bizId;
|
|
@JSONField(serialize = false)
|
@PropertyDef(label = "同步时间", description = "从粮库系统同步到接口管理中心的时间")
|
@Column(name = "syncTime")
|
private Date syncTime;
|
}
|