czt
2024-11-25 5c39705408824d92ec5fcc261b9cb618dc3cf65d
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
package com.fzzy.async.fzzy40.entity;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
 
/**
 * @author czt
 *
 * 按仓库进行统计,每个月底统计一次(因上海市账面库存接口为按货位统计,转换接口服务时根据省份要求统计成对应的账面库存)
 **/
@Data
@Entity
@Table(name = "D_DEPOT_BOOK_STORE")
public class Fz40DepotBookStore implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "主键", description = "规则:仓库编码_yyyyMMdd")
    private String id;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
    @Column(name = "DEPT_ID_", length = 20)
    @PropertyDef(label = "库区代码")
    private String deptId;
 
    @Column(name = "DEPOT_ID_", length = 30)
    @PropertyDef(label = "仓库编码")
    private String depotId;
 
    @Column(name = "lspzdm", length = 7)
    @PropertyDef(label = "粮食品种代码")
    private String lspzdm;
 
    @PropertyDef(label = "粮食性质代码", description = "目前上海使用")
    @Column(name = "lsxzdm", length = 7)
    private String lsxzdm;
 
    @Column(name = "nd", length = 4)
    @PropertyDef(label = "年度")
    private String nd;
 
    @Column(name = "yf", length = 2)
    @PropertyDef(label = "月份")
    private String yf;
 
    @Column(name = "qcsl", precision = 20, scale = 3)
    @PropertyDef(label = "期初数量", description = "单位:公斤")
    private Double qcsl = 0.0;
 
    @Column(name = "bqsrsl", precision = 20, scale = 3)
    @PropertyDef(label = "本期收入数量", description = "单位:公斤")
    private Double bqsrsl = 0.0;
 
    @Column(name = "bqzcsl", precision = 20, scale = 3)
    @PropertyDef(label = "本期支出数量", description = "单位:公斤")
    private Double bqzcsl = 0.0;
 
    @Column(name = "qmye", precision = 20, scale = 3)
    @PropertyDef(label = "期末数量", description = "单位:公斤")
    private Double qmye = 0.0;
 
    @Column(name = "yjbz")
    @PropertyDef(label = "月结标志", description = "0:月结;1 未月结")
    private Integer yjbz;
 
    @Column(name = "ywrq")
    @PropertyDef(label = "业务日期")
    private Date ywrq;
 
    @Column(name = "zhgxsj")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    private Date zhgxsj;
 
}