package com.fzzy.api.entity;
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
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_9112")
|
@EqualsAndHashCode(callSuper = false)
|
public class Api9112 implements Serializable {
|
|
private static final long serialVersionUID = 4946609886186668344L;
|
|
@Id
|
@PropertyDef(label = "廒间代码")
|
@Column(name = "ajdm", length = 28)
|
private String ajdm;
|
|
@PropertyDef(label = "廒间名称")
|
@Column(name = "ajmc", length = 256)
|
private String ajmc;
|
|
@PropertyDef(label = "仓房编码")
|
@Column(name = "cfdm", length = 25)
|
private String cfdm;
|
|
@PropertyDef(label = "仓房类型代码")
|
@Column(name = "cflxdm", length = 8)
|
private String cflxdm;
|
|
@PropertyDef(label = "廒间设计仓容")
|
@Column(name = "sjcr", precision = 20, scale = 6)
|
private Double sjcr;
|
|
@PropertyDef(label = "廒间状态")
|
@Column(name = "ajzt", length = 1)
|
private String ajzt;
|
|
@PropertyDef(label = "操作标志")
|
@Column(name = "czbz", length = 1)
|
private String czbz;
|
|
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
@PropertyDef(label = "最后更新时间")
|
@Column(name = "zhgxsj")
|
private Date zhgxsj;
|
|
@PropertyDef(label = "标记位")
|
@Column(name = "bjw", length = 40)
|
private String bjw;
|
|
/*----------接口系统自定义字段----------*/
|
@JSONField(serialize = false)
|
@PropertyDef(label = "业务id")
|
@Column(name = "bizId", length = 40)
|
private String bizId;
|
|
@JSONField(serialize = false)
|
@PropertyDef(label = "库区代码")
|
@Column(name = "kqdm", length = 21)
|
private String kqdm;
|
|
@JSONField(serialize = false)
|
@PropertyDef(label = "同步时间", description = "从粮库系统同步到接口管理中心的时间")
|
@Column(name = "syncTime")
|
private Date syncTime;
|
|
}
|