czt
2024-04-23 a03d12962c4439cce9193f178c02164db20f734c
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
package com.fzzy.api.entity;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
 
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
 
/**
 * 接口表-文件信息
 */
@Data
@Entity
@Table(name = "API_1109")
 
public class Api1109 implements Serializable {
 
    public static String SORT_PROP = "syncTime";
    /**
     *
     */
    private static final long serialVersionUID = -6615204510395829490L;
 
    @Id
    @Column(name = "ID_", length = 40)
    @JSONField(serialize = false)
    private String id;
 
    @PropertyDef(label = "文件地址")
    @Column(name = "wjdz")
    @JSONField(serialize = false)
    private String wjdz;
 
    @PropertyDef(label = "文件名称")
    @Column(name = "wjmc", length = 37)
    private String wjmc;
 
    @PropertyDef(label = "库区代码")
    @Column(name = "kqdm", length = 21)
    private String kqdm;
 
    @PropertyDef(label = "统一库区编码")
    @Column(name = "tykqbm", length = 22)
    private String tykqbm;
 
    @PropertyDef(label = "文件id")
    @Column(name = "fileStorageId", length = 20)
    private String fileStorageId;
 
    @PropertyDef(label = "文件类型", description = "1:库区鸟瞰图 2:入库图片 3:出库图片 4:入库检斤视频(截取检斤时间前后各 5秒钟视频)5:出库检斤视频(截取检斤时间前后各 5 秒钟视频)104:熏蒸备案接口附件")
    @Column(name = "wjlx", length = 3)
    private String wjlx;
 
    @PropertyDef(label = "文件流")
    //@Column(name = "wjl")
    private String wjl;
 
    @PropertyDef(label = "操作标志")
    @Column(name = "czbz", length = 1)
    private String czbz;
 
    @PropertyDef(label = "最后更新时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "zhgxsj", nullable = false)
    private Date zhgxsj;
 
    @JSONField(serialize = false)
    @PropertyDef(label = "业务id")
    @Column(name = "bizId", length = 40)
    private String bizId;
 
    @JSONField(serialize = false)
    @PropertyDef(label = "同步时间", description = "从粮库系统同步到接口管理中心的时间")
    @Column(name = "syncTime")
    private Date syncTime;
 
    /*-----上海使用-----*/
 
    @PropertyDef(label = "业务单号", description = "当文件类型为1,为空;当文件类型为2、3、4、5传出入库业务单号;当文件类型为6,传合同号;当文件类型为10.、11,传风险点编码")
    @Column(name = "ywdh")
    private String ywdh;
}