czt
昨天 9f6dacf7b39e5aeba37d8faf575c9e56d8cbe51a
src/main/java/com/fzzy/api/entity/Api1212.java
@@ -4,15 +4,10 @@
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
@@ -22,8 +17,7 @@
@Data
@Entity
@Table(name = "API_1212")
@EqualsAndHashCode(callSuper = false)
public class Api1212 extends ApiParent implements Serializable {
public class Api1212 implements Serializable {
    public static String SORT_PROP = "kqmc";
@@ -36,12 +30,16 @@
    @JSONField(serialize = false)
    @Id
    @Column(name = "id")
    @Column(name = "id", length = 50)
    private String id;
    @PropertyDef(label = "单位代码")
    @Column(name = "dwdm", length = 18)
    private String dwdm;
    @PropertyDef(label = "统一单位编码")
    @Column(name = "tydwbm", length = 20)
    private String tydwbm;
    @PropertyDef(label = "单位名称")
    @Column(name = "dwmc", length = 256)
@@ -50,6 +48,10 @@
    @PropertyDef(label = "库区代码")
    @Column(name = "kqdm", length = 21)
    private String kqdm;
    @PropertyDef(label = "统一库区编码")
    @Column(name = "tykqbm", length = 22)
    private String tykqbm;
    
    @PropertyDef(label = "库区名称")
    @Column(name = "kqmc", length = 256)
@@ -112,5 +114,13 @@
    @Column(name = "zhgxsj")
    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;
}