CZT
2023-08-03 447604c07b8e57ef19ac3ee8b7e22bd20fa44f9c
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
package com.fzzy.api.entity;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
 
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import org.hibernate.annotations.GenericGenerator;
 
import javax.persistence.*;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 接口表-储备规模数据表
 *
 * @author chen
 * @date 2022-09-02 16:03
 */
@Data
@Entity
@Table(name = "API_1401")
@EqualsAndHashCode(callSuper=false)
public class Api1401 implements Serializable {
 
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
 
    @Id
    @JSONField(serialize = false)
    @GenericGenerator(name = "generator", strategy = "increment")
    @GeneratedValue(generator = "generator")
    @PropertyDef(label = "主键id", description = "接口返回不涉及此字段")
    @Column(name = "ID_")
    private Integer id;
 
    @JSONField(serialize = false)
    @PropertyDef(label = "业务id")
    @Column(name = "bizId", length = 40)
    private String bizId;
 
    @PropertyDef(label = "库区代码")
    @Column(name = "kqdm", length = 21)
    private String kqdm;
 
    @PropertyDef(label = "年份" )
    @Column(name = "nf", length = 4, nullable = false)
    private String nf;
 
    @PropertyDef(label = "行政区划代码" )
    @Column(name = "xzqhdm", length = 6, nullable = false)
    private String xzqhdm;
 
    @PropertyDef(label = "承储企业" )
    @Column(name = "ccqy", length = 18, nullable = false)
    private String ccqy;
 
    @PropertyDef(label = "粮食品种" )
    @Column(name = "ylpz", length = 16)
    private String ylpz;
 
    @PropertyDef(label = "粮食性质" )
    @Column(name = "ylxz", length = 16)
    private String ylxz;
 
    @PropertyDef(label = "储备规模计划数量" )
    @Column(name = "ylcbgmjhsl", precision = 20, scale = 6)
    private double ylcbgmjhsl;
 
    @PropertyDef(label = "储备规模计划文号" )
    @Column(name = "cbgmjhwh", length = 128)
    private String cbgmjhwh;
 
    @PropertyDef(label = "备注" )
    @Column(name = "remarks", length = 256)
    private String remarks;
 
    @PropertyDef(label = "操作标志" )
    @Column(name = "czbz", length = 1, nullable = false)
    private String czbz;
 
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间" )
    @Column(name = "zhgxsj", nullable = false)
    private Date zhgxsj;
 
}