package com.fzzy.api.entity;
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
import com.bstek.dorado.annotation.PropertyDef;
|
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
import org.hibernate.annotations.GenericGenerator;
|
|
import javax.persistence.*;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 接口表-仓内视频图像数据表
|
*
|
* @author chen
|
* @date 2022-09-02 15:57
|
*/
|
@Data
|
@Entity
|
@Table(name = "API_1307")
|
@EqualsAndHashCode(callSuper=false)
|
public class Api1307 implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@JSONField(serialize = false)
|
@Column(name = "ID_", length = 40)
|
private String id;
|
|
@JSONField(serialize = false)
|
@PropertyDef(label = "业务id")
|
@Column(name = "bizId", length = 40)
|
private String bizId;
|
|
@PropertyDef(label = "库区代码")
|
@Column(name = "kqdm", length = 21)
|
private String kqdm;
|
|
@PropertyDef(label = "视频监控设备id" )
|
@Column(name = "spjksbid", length = 20, nullable = false)
|
private String spjksbid;
|
|
@PropertyDef(label = "仓房代码" )
|
@Column(name = "cfdm", length = 25, nullable = false)
|
private String cfdm;
|
|
@PropertyDef(label = "货位代码" )
|
@Column(name = "hwdm", length = 30, nullable = false)
|
private String hwdm;
|
|
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
@PropertyDef(label = "抓拍时间" )
|
@Column(name = "zpsj", nullable = false)
|
private Date zpsj;
|
|
@PropertyDef(label = "文件id")
|
@Column(name = "fileStorageId", length = 20)
|
private String fileStorageId;
|
|
@PropertyDef(label = "图像文件后缀名")
|
@Column(name = "txwjhzm", length = 5)
|
private String txwjhzm;
|
|
@PropertyDef(label = "仓内图像文件流" )
|
@Column(name = "cntxwjl", length = 512)
|
private String cntxwjl;
|
|
@JSONField(name="Yzwbh")
|
@PropertyDef(label = "预置位编号" )
|
@Column(name = "yzwbh", length = 32, nullable = false)
|
private String yzwbh;
|
|
@PropertyDef(label = "文件地址")
|
@Column(name = "wjdz")
|
@JSONField(serialize = false)
|
private String wjdz;
|
|
@PropertyDef(label = "操作标志" )
|
@Column(name = "czbz", length = 1, nullable = false)
|
private String czbz;
|
|
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
@PropertyDef(label = "最后更新时间" )
|
@Column(name = "zhgxsj", nullable = false)
|
private Date zhgxsj;
|
|
}
|