czt
2025-09-25 029de836702607a95ccb0a69a74efcea52ddc451
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
package com.fzzy.api.entity;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
 
/**
 * 科目余额表
 *
 * @author czt
 */
@Data
@Entity
@Table(name = "API_1506")
@EqualsAndHashCode(callSuper = false)
public class Api1506 extends ApiParent implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
 
    /**
     * 通过接口获取的单位账套后,在局端自动产生账套号
     */
    @Id
    @Column(name = "ID_", precision = 110)
    @JSONField(serialize = false)
    private String id;
 
    @PropertyDef(label = "账套号")
    @Column(name = "nacctid", length = 23)
    private String nacctid;
 
    @PropertyDef(label = "期间")
    @Column(name = "cyear")
    private Integer cyear;
 
    @PropertyDef(label = "年度")
    @Column(name = "nno")
    private Integer nno;
 
    @PropertyDef(label = "科目编码")
    @Column(name = "ccode", length = 80)
    private String ccode;
 
    @PropertyDef(label = "期初本位币余额")
    @Column(name = "bm", precision = 20, scale = 4)
    private Double bm;
 
    @PropertyDef(label = "期末本位币余额")
    @Column(name = "em", precision = 20, scale = 4)
    private Double em;
 
    @PropertyDef(label = "期初数量")
    @Column(name = "bqty", precision = 20, scale = 4)
    private Double bqty;
 
    @PropertyDef(label = "期末数量")
    @Column(name = "eqty", precision = 20, scale = 4)
    private Double eqty;
    /**
     * 1:借方
     * -1:贷方
     */
    @PropertyDef(label = "余额方向")
    @Column(name = "cdc")
    private Integer cdc;
 
    @PropertyDef(label = "借方本位币发生额")
    @Column(name = "dm", precision = 20, scale = 4)
    private Double dm;
 
    @PropertyDef(label = "贷方本位币发生额")
    @Column(name = "cm", precision = 20, scale = 4)
    private Double cm;
 
    @PropertyDef(label = "借方发生数量")
    @Column(name = "dq", precision = 20, scale = 4)
    private Double dq;
 
    @PropertyDef(label = "贷方发生数量")
    @Column(name = "cq", precision = 20, scale = 4)
    private Double cq;
 
    @PropertyDef(label = "期初外币余额")
    @Column(name = "bfm", precision = 20, scale = 4)
    private Double bfm;
 
    @PropertyDef(label = "期末外币余额")
    @Column(name = "efm", precision = 20, scale = 4)
    private Double efm;
 
    @PropertyDef(label = "借方外币发生额")
    @Column(name = "dfm", precision = 20, scale = 4)
    private Double dfm;
 
    @PropertyDef(label = "贷方外币发生额")
    @Column(name = "cfm", precision = 20, scale = 4)
    private Double cfm;
 
    @PropertyDef(label = "统一库区编码")
    @Column(name = "tykqbm", length = 22)
    private String tykqbm;
 
    @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;
 
}