CZT
2024-03-09 4c6b38c84b14e90bd0844046645c61796746696c
src/main/java/com/fzzy/api/entity/Api1105.java
@@ -2,16 +2,12 @@
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;
@@ -22,13 +18,11 @@
@Entity
@Table(name = "API_1105")
@EqualsAndHashCode(callSuper=false)
public class Api1105 extends ApiParent implements Serializable {
public class Api1105 implements Serializable {
    /**
    *
    */
   private static final long serialVersionUID = -6967028172020353365L;
    /*----------国标字段----------*/
   @Id
    @PropertyDef(label = "货位代码" )
    @Column(name = "hwdm", length = 30)
@@ -44,12 +38,12 @@
    @PropertyDef(label = "货位启用日期" )
    @JSONField(format = "yyyy-MM-dd")
    @Column(name = "hwqyrq", nullable = false)
    @Column(name = "hwqyrq")
    private Date hwqyrq;
    @PropertyDef(label = "货位容量" )
    @Column(name = "hwrl", precision = 20, scale = 6)
    private double hwrl;
    private Double hwrl;
    @PropertyDef(label = "保管单位" )
    @Column(name = "bgdw", length = 128)
@@ -65,7 +59,30 @@
    @PropertyDef(label = "最后更新时间" )
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "zhgxsj", nullable = false)
    @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;
}