YYC
2024-12-05 a63ccbac7d05e8f7592fd2040275770d59f67c5f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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_9110")
public class Api9110 implements Serializable {
 
    private static final long serialVersionUID = -3603201046281559170L;
 
    @Id
    @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 = "kqdz", length = 512)
    private String kqdz;
 
    @PropertyDef(label = "行政区划代码")
    @Column(name = "xzqhdm", length = 6)
    private String xzqhdm;
 
    @PropertyDef(label = "库区产权", description = "1: 自有 2:租赁 3:共有 4:混合 9:其他")
    @Column(name = "kqcq", length = 1)
    private String kqcq;
 
    @PropertyDef(label = "设计仓容")
    @Column(name = "yxcr", precision = 20, scale = 6)
    private Double yxcr;
 
    @PropertyDef(label = "仓房数")
    @Column(name = "cfs")
    private Integer cfs;
 
    @PropertyDef(label = "廒间数")
    @Column(name = "ajs")
    private Integer ajs;
 
    @PropertyDef(label = "库区经度")
    @Column(name = "jd", precision = 20, scale = 6)
    private Double jd;
 
    @PropertyDef(label = "库区纬度")
    @Column(name = "wd", precision = 20, scale = 6)
    private Double wd;
 
    @PropertyDef(label = "库区状态", description = "1:正常(默认) 2:退出储备粮承储")
    @Column(name = "kqzt", length = 1)
    private String kqzt;
 
    @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;
 
    @PropertyDef(label = "标记位")
    @Column(name = "bjw", length =32)
    private String bjw;
 
    /*----------接口系统自定义字段----------*/
    @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;
}