CZT
2023-10-11 fafc8d352aa1a4f943dd9e79d14e8e93ee12ce1f
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
package com.fzzy.async.whhpjl.entity;
 
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
 
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
 
/**
 * @Desc: 库区组织架构
 *
 * @author: czt
 * @update-time: 2023/08/04
 *
 */
@Data
@Entity
@Table(name = "BDF2_DEPT")
public class Fz40WhjlDefaultDept implements Serializable {
 
    private static final long serialVersionUID = -7669420244144806105L;
 
    // ----------业务公共字段-------//
    @Id
    @Column(name = "ID_", length = 60)
    private String id;
 
    @Column(name = "COMPANY_ID_", length = 60)
    private String companyId;
 
    @Column(name = "PARENT_ID_", length = 60)
    private String parentId;
 
    @Column(name = "CREATE_DATE_")
    @PropertyDef(label = "建成时间")
    private Date createDate;
 
    @Column(name = "NAME_", length = 60)
    private String name;
 
    @Column(name = "DESC_", length = 1000)
    private String desc;
 
    @Column(name = "TYPE_", length = 10)
    @PropertyDef(label = "类型", description = "组织,库点")
    private String type;
 
    @Column(name = "CODE_", length = 60)
    @PropertyDef(label = "编码", description = "用于上报的组织编码")
    private String code;
 
    @PropertyDef(label = "所在省")
    @Column(name = "PROVINCE_", length = 30)
    private String province;
 
    @PropertyDef(label = "所在城市")
    @Column(name = "CITY_", length = 30)
    private String city;
 
    @PropertyDef(label = "所在区县")
    @Column(name = "COUNTRY_", length = 30)
    private String country;
 
    @Column(name = "LON_")
    @PropertyDef(label = "经度")
    private Double lon;
 
    @Column(name = "LAT_")
    @PropertyDef(label = "纬度")
    private Double lat;
 
    @Column(name = "POST_CODE_", length = 10)
    @PropertyDef(label = "邮编")
    private String postCode;
 
    @Column(name = "BUILDING_NUM_")
    @PropertyDef(label = "仓房数")
    private Integer buildingNum;
 
    @Column(name = "OIL_NUM_")
    @PropertyDef(label = "油罐数")
    private Integer oilNum;
 
    @PropertyDef(label = "地址")
    @Column(name = "ADDRESS_", length = 200)
    private String address;
 
    @PropertyDef(label = "联系人")
    @Column(name = "CONTACT_", length = 50)
    private String contact;
 
    @PropertyDef(label = "联系电话")
    @Column(name = "PHONE_", length = 20)
    private String phone;
 
    @Column(name = "FAX_", length = 20)
    @PropertyDef(label = "传真")
    private String fax;
 
    // ----------单位字段-------//
    @Column(name = "COMPANY_TYPE_", length = 10)
    @PropertyDef(label = "单位类型", description = "1-粮食仓储企业;2-粮食购销企业;3-粮食加工企业;4-粮食设备制造企业;9-其他粮食企业")
    private String companyType;
 
    @Column(name = "NATURE_", length = 10)
    @PropertyDef(label = "企业性质", description = "1-固有企业;2-民营企业;3-事业单位;9-其他内资企业;10-港澳台商投资企业;11-外商投资企业;")
    private String nature;
 
    @Column(name = "LEGAL_PERSON_", length = 30)
    @PropertyDef(label = "法人")
    private String legalPerson;
 
    @Column(name = "DEPT_NUM_")
    @PropertyDef(label = "库区数")
    private Integer deptNum;
 
    @Column(name = "REGISTER_CODE_", length = 30)
    @PropertyDef(label = "工商登记注册号")
    private String registerCode;
 
    @Column(name = "CREDIT_CODE_", length = 20)
    @PropertyDef(label = "信用编码")
    private String creditCode;
 
    // ----------库区字段-------//
    @Column(name = "DEPOT_NUM_")
    @PropertyDef(label = "廒间数")
    private Integer depotNum;
 
    @Column(name = "STORAGE_")
    @PropertyDef(label = "库点设计储量", description = "单位:吨")
    private Double storage;
 
    @Column(name = "OIL_STORAGE_")
    @PropertyDef(label = "库点设计罐容", description = "单位:吨")
    private Double oilStorage;
 
    @Column(name = "AREA_")
    @PropertyDef(label = "库点设计面积", description = "单位:㎡")
    private Double area;
 
    @Column(name = "ACTING_RESERVE_", length = 1)
    @PropertyDef(label = "是否代储", description = "1-是; 0-否")
    private String actingReserve = "0";
 
    @Column(name = "PROPERTY_RIGHT_", length = 2)
    @PropertyDef(label = "库区产权", description = "1-自有; 2-租赁;9-其他")
    private String propertyRight = "1";
 
    @Column(name = "VAL_", length = 1)
    @PropertyDef(label = "是否启用")
    private String val;
}