CZT
2024-03-06 8faa1d379ed06d8913b096007f8a6e7fd248b4ea
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
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.*;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 接口表-轮换计划信息数据表
 *
 * @author chen
 * @date 2022-09-02 16:03
 */
@Data
@Entity
@Table(name = "API_1403")
@EqualsAndHashCode(callSuper=false)
public class Api1403  implements Serializable {
 
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
 
    /*----------国标字段----------*/
    @Id
    @PropertyDef(label = "轮换计划单号", description = "单位编码 + 4位年份 + 3位顺序号")
    @Column(name = "lhjhdh", length = 25)
    private String lhjhdh;
 
    @PropertyDef(label = "计划文号" )
    @Column(name = "jhwh", length = 64)
    private String jhwh;
 
    @PropertyDef(label = "计划名称" )
    @Column(name = "jhmc", length = 256)
    private String jhmc;
 
    @PropertyDef(label = "计划年度" )
    @Column(name = "jhnd", length = 4)
    private String jhnd;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "开始执行日期" )
    @Column(name = "kszxrq")
    private Date kszxrq;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "截止执行日期" )
    @Column(name = "jzzxrq")
    private Date jzzxrq;
 
    @PropertyDef(label = "计划下达单位" )
    @Column(name = "jhxddw", length = 18)
    private String jhxddw;
 
    @PropertyDef(label = "计划下达单位名称" )
    @Column(name = "jhxddwmc", length = 256)
    private String jhxddwmc;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "计划下达时间" )
    @Column(name = "jhxdsj")
    private Date jhxdsj;
 
    @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;
 
    /*----------自主业务字段----------*/
    @JSONField(serialize = false)
    @PropertyDef(label = "业务id")
    @Column(name = "bizId", length = 40)
    private String bizId;
 
    @JSONField(serialize = false)
    @PropertyDef(label = "文件地址")
    @Column(name = "wjdz")
    private String wjdz;
 
    @PropertyDef(label = "库区代码")
    @Column(name = "kqdm", length = 21)
    private String kqdm;
 
    @JSONField(serialize = false)
    @PropertyDef(label = "同步时间", description = "从粮库系统同步到接口管理中心的时间")
    @Column(name = "syncTime")
    private Date syncTime;
 
 
    /*----------广东省平台规范字段----------*/
    @PropertyDef(label = "管理方式" )
    @Column(name = "manageWay")
    private String manageWay;
 
    @PropertyDef(label = "轮换类型" )
    @Column(name = "rotationType")
    private String rotationType;
 
    @PropertyDef(label = "文件存储ID" )
    @Column(name = "fileStorageId")
    private String fileStorageId;
 
    @PropertyDef(label = "文件名称" )
    @Column(name = "fileName")
    private String fileName;
 
    @PropertyDef(label = "轮入数量" )
    @Column(name = "rotationInQty")
    private Double rotationInQty;
 
    @PropertyDef(label = "轮出数量" )
    @Column(name = "rotationOutQty")
    private Double rotationOutQty;
}