czt
2025-08-01 8bbd45de678ccfd45b6d210320e80b59027ea773
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
package com.fzzy.async.fzzy35.entity;
 
import com.bstek.dorado.annotation.PropertyDef;
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;
 
/**
 * 建筑物,包括仓房和其他房子
 * <p>
 * 仓库的敖间使用的是:Depot类,一个仓房建筑可能包含多个敖间。
 * <p>
 * 当前定义对象仅仅用于建筑物的数据配置
 */
@Data
@Entity
@Table(name = "D_BUILDING")
public class Fz35Building implements Serializable {
 
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "ID_", length = 50)
    @PropertyDef(label = "仓房编码")
    private String id;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
    @Column(name = "DEPT_ID_", length = 40)
    @PropertyDef(label = "所属库点")
    private String deptId;
 
    @Column(name = "NAME_", length = 50)
    @PropertyDef(label = "建筑名称")
    private String name;
 
    @Column(name = "STORAGE_")
    @PropertyDef(label = "设计储量", description = "单位:KG")
    private Double storage;
 
    @Column(name = "USER_DATE_")
    @PropertyDef(label = "使用日期")
    private Date userDate;
 
    @Column(name = "HEIGHT_", precision = 16, scale = 2)
    @PropertyDef(label = "仓房高度", description = "单位:米")
    private Double height;
 
    @Column(name = "LENGTH_", precision = 16, scale = 2)
    @PropertyDef(label = "仓房长度", description = "单位:米")
    private Double length;
 
    @Column(name = "WIDTH_", precision = 16, scale = 2)
    @PropertyDef(label = "仓房宽度", description = "单位:米")
    private Double width;
 
    @Column(name = "DIAMETER_", precision = 16, scale = 2)
    @PropertyDef(label = "筒仓直径", description = "单位:米")
    private Double diameter;
 
    @Column(name = "VOLUME_", precision = 16, scale = 2)
    @PropertyDef(label = "筒仓体积", description = "单位:立方米")
    private Double volume;
 
    @Column(name = "DOOR_NUM_")
    @PropertyDef(label = "仓门数")
    private Integer doorNum;
 
    @Column(name = "GROUND_", length = 20)
    @PropertyDef(label = "地面结构")
    private String ground;
 
    @Column(name = "WALL_", length = 20)
    @PropertyDef(label = "墙体结构")
    private String wall;
 
    @Column(name = "ROOF_", length = 20)
    @PropertyDef(label = "屋顶结构")
    private String roof;
 
    @Column(name = "ROOF_TRUSS_", length = 20)
    @PropertyDef(label = "屋架结构")
    private String roofTruss;
 
    @Column(name = "CREATE_DATE_")
    @PropertyDef(label = "建造日期")
    private Date createDate;
    
    @Column(name = "LON_", precision = 16, scale = 4)
    @PropertyDef(label = "经度")
    private Double lon;
 
    @Column(name = "LAT_", precision = 16, scale = 4)
    @PropertyDef(label = "纬度")
    private Double lat;
}