CZT
2023-10-25 4a41dd96b1a288fee3343c405b3f3b0c08d5646c
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
package com.fzzy.api.entity;
 
import java.io.Serializable;
import java.util.Date;
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.*;
 
/**
 * 接口表-廒间信息
 *
 * @author chen
 * @date 2022-09-02 14:18
 */
@Data
@Entity
@Table(name = "API_1104")
@EqualsAndHashCode(callSuper = false)
public class Api1104 implements Serializable {
 
    private static final long serialVersionUID = 9157617424050247565L;
 
    /*----------国标字段----------*/
    @Id
    @PropertyDef(label = "廒间代码")
    @Column(name = "ajdh", length = 28)
    private String ajdh;
 
    @PropertyDef(label = "廒间名称")
    @Column(name = "ajmc", length = 256)
    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;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "廒间启用日期")
    @Column(name = "ajqyrq")
    private Date ajqyrq;
 
    @PropertyDef(label = "廒间状态")
    @Column(name = "ajzt", length = 1)
    private String ajzt;
 
    @PropertyDef(label = "操作标志")
    @Column(name = "czbz", length = 1)
    private String czbz;
 
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @Column(name = "zhgxsj")
    private Date zhgxsj;
 
 
    /*----------上海市平台规范字段----------*/
    @PropertyDef(label = "使用库区代码")
    @Column(name = "sykqdm", length = 21)
    private String sykqdm;
 
    @PropertyDef(label = "廒间联系电话")
    @Column(name = "ajlxdh", length = 20)
    private String ajlxdh;
 
    @PropertyDef(label = "标记位")
    @Column(name = "bjw", length = 40)
    private String bjw;
 
 
    /*----------接口系统自定义字段----------*/
    @JSONField(serialize = false)
    @PropertyDef(label = "业务id")
    @Column(name = "bizId", length = 40)
    private String bizId;
 
    @JSONField(serialize = false)
    @PropertyDef(label = "库区代码")
    @Column(name = "kqdm", length = 21)
    private String kqdm;
 
    @JSONField(serialize = false)
    @PropertyDef(label = "同步时间", description = "从粮库系统同步到接口管理中心的时间")
    @Column(name = "syncTime")
    private Date syncTime;
 
}