package com.fzzy.api.entity;
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
import com.bstek.dorado.annotation.PropertyDef;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
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;
|
|
/**
|
* 接口表-设备信息
|
*/
|
@Data
|
@Entity
|
@Table(name = "API_1107")
|
public class Api1107 implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 4932872139553449835L;
|
|
@JsonIgnore
|
@PropertyDef(label = "业务id")
|
@Column(name = "bizId", length = 40)
|
private String bizId;
|
|
@Id
|
@PropertyDef(label = "设备编号" )
|
@Column(name = "sbbh", length = 20)
|
private String sbbh;
|
|
|
@PropertyDef(label = "库区代码" )
|
@Column(name = "kqdm", length = 21)
|
private String kqdm;
|
|
@PropertyDef(label = "单位代码" )
|
@Column(name = "dwdm", length = 18)
|
private String dwdm;
|
|
@PropertyDef(label = "库区名称" )
|
@Column(name = "kqmc", length = 256)
|
private String kqmc;
|
|
@PropertyDef(label = "设备仪器名称" )
|
@Column(name = "sbyqmc", length = 50)
|
private String sbyqmc;
|
|
@PropertyDef(label = "设备仪器代码" )
|
@Column(name = "sbyqdm", length = 8)
|
private String sbyqdm;
|
|
@PropertyDef(label = "设备规格型号" )
|
@Column(name = "sbggxh", length = 50)
|
private String sbggxh;
|
|
@PropertyDef(label = "生产厂家" )
|
@Column(name = "sccj", length = 256)
|
private String sccj;
|
|
@PropertyDef(label = "生产日期" )
|
@JSONField(format = "yyyy-MM-dd")
|
@Column(name = "scrq", nullable = false)
|
private Date scrq;
|
|
@PropertyDef(label = "设备描述" )
|
@Column(name = "sbms", length = 50)
|
private String sbms;
|
|
@PropertyDef(label = "设备状态" )
|
@Column(name = "sbzt", length = 1)
|
private String sbzt;
|
|
@PropertyDef(label = "检定时间" )
|
@JSONField(format = "yyyy-MM-dd")
|
@Column(name = "jdsj", nullable = false)
|
private Date jdsj;
|
|
@PropertyDef(label = "检定单位" )
|
@Column(name = "jddw", length = 256)
|
private String jddw;
|
|
@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;
|
|
|
}
|