czt
2025-06-11 283da741b2429cf5a53786e5ee1b5528b757fdf6
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
package com.fzzy.igds.dzhwk.domain;
 
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
 
/**
 * @Description 库区实体
 * @Author CZT
 * @Date 2025/05/28 19:02
 */
@Data
@Entity
@Table(name = "D_DEPT")
public class Dept implements Serializable {
 
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "部门id",description = "系统内使用,绑定部门表")
    private String id;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
    /*----------国标字段----------*/
    @PropertyDef(label = "库区代码")
    @Column(name = "kqdm", length = 21)
    private String kqdm;
 
    @PropertyDef(label = "统一库区编码")
    @Column(name = "tykqbm", length = 22)
    private String tykqbm;
 
    @PropertyDef(label = "单位代码")
    @Column(name = "dwdm", length = 18)
    private String dwdm;
 
    @PropertyDef(label = "统一单位编码")
    @Column(name = "tydwbm", length = 20)
    private String tydwbm;
 
    @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 = "行政区划名称")
    @Column(name = "xzqhmc", length = 6)
    private String xzqhmc;
 
    @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 = "yxgr", precision = 20, scale = 6)
    private Double yxgr;
 
    @PropertyDef(label = "占地面积")
    @Column(name = "zdmj", precision = 20, scale = 6)
    private Double zdmj;
 
    @PropertyDef(label = "仓房数")
    @Column(name = "cfs")
    private Integer cfs;
 
    @PropertyDef(label = "油罐数")
    @Column(name = "ygs")
    private Integer ygs;
 
    @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 = "最后更新时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "zhgxsj")
    private Date zhgxsj;
 
    /**
     * --------鸟瞰图信息--------
     **/
    @Column(name = "FILE_ID_", length = 30)
    @PropertyDef(label = "鸟瞰图id")
    private String fileId;
 
    @Column(name = "FILE_NAME_", length = 50)
    @PropertyDef(label = "鸟瞰图名称")
    private String fileName;
 
    /**
     * --------宣传视频信息--------
     **/
    @Column(name = "VIDEO_ID_", length = 30)
    @PropertyDef(label = "视频附件id")
    private String videoId;
 
    @Column(name = "VIDEO_NAME_", length = 50)
    @PropertyDef(label = "视频附件名称")
    private String videoName;
 
 
    //全路径
    @Transient
    private String imgFilePath;
 
    //全路径
    @Transient
    private String videoFilePath;
}