czt
2024-11-25 8fc406df592585be2a11f7334d3dcc67484e12dc
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
package com.fzzy.api.entity;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
 
/**
 * 接口表-货位信息
 */
@Data
@Entity
@Table(name = "API_1105")
@EqualsAndHashCode(callSuper=false)
public class Api1105 implements Serializable {
 
    private static final long serialVersionUID = -6967028172020353365L;
 
    /*----------国标字段----------*/
    @Id
    @PropertyDef(label = "货位代码" )
    @Column(name = "hwdm", length = 30)
    private String hwdm;
 
    @PropertyDef(label = "统一货位编码" )
    @Column(name = "tyhwbm", length = 28)
    private String tyhwbm;
 
    @PropertyDef(label = "货位名称" )
    @Column(name = "hwmc", length = 256)
    private String hwmc;
 
    @PropertyDef(label = "廒间代码" )
    @Column(name = "ajdm", length = 28)
    private String ajdm;
 
    @PropertyDef(label = "货位启用日期" )
    @JSONField(format = "yyyy-MM-dd")
    @Column(name = "hwqyrq")
    private Date hwqyrq;
 
    @PropertyDef(label = "货位容量" )
    @Column(name = "hwrl", precision = 20, scale = 6)
    private Double hwrl;
 
    @PropertyDef(label = "保管单位" )
    @Column(name = "bgdw", length = 128)
    private String bgdw;
 
    @PropertyDef(label = "保管员" )
    @Column(name = "bgy", length = 128)
    private String bgy;
 
    @PropertyDef(label = "操作标志" )
    @Column(name = "czbz", length = 1)
    private String czbz;
 
    @PropertyDef(label = "最后更新时间" )
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "zhgxsj")
    private Date zhgxsj;
 
 
    /*----------上海市平台规范字段----------*/
    @PropertyDef(label = "标记位")
    @Column(name = "bjw", length = 40)
    private String bjw;
 
    @PropertyDef(label = "货位状态")
    @Column(name = "hwzt", length = 40)
    private String hwzt;
 
 
    /*----------接口系统自定义字段----------*/
    @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;
 
}