czt
2025-05-30 9bc5f4d58da606c6a465e152d05a1c31b0611f74
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
package com.fzzy.igds.dzhwk.domain;
 
import com.alibaba.fastjson.annotation.JSONField;
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;
 
/**
 * @Description 廒间实体
 * @Author CZT
 * @Date 2025/05/28 18:48
 */
@Data
@Entity
@Table(name = "D_GRANARY")
public class Granary implements Serializable {
 
    public static String SORT_PROP = "ajdh";
 
    @Id
    @PropertyDef(label = "廒间代码")
    @Column(name = "ajdh", length = 28)
    private String ajdh;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
    @Column(name = "DEPT_ID_", length = 40)
    @PropertyDef(label = "所属分库")
    private String deptId;
 
    @PropertyDef(label = "廒间名称")
    @Column(name = "ajmc", length = 100)
    private String ajmc;
 
    @PropertyDef(label = "仓房(或油罐)编码")
    @Column(name = "cfbh", length = 25)
    private String cfbh;
 
    @PropertyDef(label = "廒间长度")
    @Column(name = "ajcd", precision = 8, scale = 4)
    private double ajcd;
 
    @PropertyDef(label = "廒间宽度")
    @Column(name = "ajkd", precision = 8, scale = 4)
    private double ajkd;
 
    @PropertyDef(label = "廒间高度")
    @Column(name = "ajgd", precision = 8, scale = 4)
    private double ajgd;
 
    @PropertyDef(label = "廒间设计仓容")
    @Column(name = "ajsjcr", precision = 20, scale = 3)
    private double ajsjcr;
 
    @PropertyDef(label = "廒间联系电话")
    @Column(name = "ajlxdh", length = 20)
    private String ajlxdh;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "廒间启用日期")
    @Column(name = "ajqyrq")
    private Date ajqyrq;
 
    @PropertyDef(label = "廒间状态")
    @Column(name = "ajzt", length = 1)
    private String ajzt;
 
    @Column(name = "UPDATE_TIME_")
    @PropertyDef(label = "数据更新时间")
    private Date updateTime;
 
}