YYC
2025-03-07 aee5c93d9d8f904d84ecdfff6025ddace615c6b2
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
package com.fzzy.async.fzzy40.entity;
 
/**
 * @Author: YYC
 * @Description:
 * @DateTime: 2024-12-19 14:23
 **/
 
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 = "API_1507")
public class Fz40Api1507 implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
 
    /**
     * 通过接口获取的单位账套后,在局端自动产生账套号
     */
    @Id
    @Column(name = "ID_", length = 40)
    @JSONField(serialize = false)
    private String id;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
    @Column(name = "DEPT_ID_", length = 30)
    @PropertyDef(label = "所属分库")
    private String deptId;
 
    @PropertyDef(label = "账套号")
    @Column(name = "nacctid", length = 23)
    private String nacctid;
 
    @PropertyDef(label = "凭证类型")
    @Column(name = "cvkind", length = 9)
    private String cvkind;
 
    @PropertyDef(label = "期间")
    @Column(name = "cmon")
    private Integer cmon;
 
    @PropertyDef(label = "年度")
    @Column(name = "cyear")
    private Integer cyear;
 
    @PropertyDef(label = "凭证号")
    @Column(name = "nvno")
    private Integer nvno;
 
    @PropertyDef(label = "分录序号")
    @Column(name = "nno")
    private Integer nno;
 
    @PropertyDef(label = "凭证分类")
    @Column(name = "btmp")
    private Integer btmp;
 
    @PropertyDef(label = "摘要")
    @Column(name = "digest", length = 512)
    private String digest;
 
    @PropertyDef(label = "科目编码")
    @Column(name = "ccode", length = 80)
    private String ccode;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "凭证日期")
    @Column(name = "ccsmalldatetime", length = 10)
    private Date ccsmalldatetime;
 
    @PropertyDef(label = "制单人")
    @Column(name = "cmaker", length = 32)
    private String cmaker;
    /**
     * 1:借方
     * -1:贷方
     */
    @PropertyDef(label = "方向")
    @Column(name = "cdc")
    private Integer cdc;
 
    @PropertyDef(label = "审核人")
    @Column(name = "ccker", length = 32)
    private String ccker;
 
    @PropertyDef(label = "记账人")
    @Column(name = "cpter", length = 32)
    private String cpter;
    /**
     * 0:否
     * 1:是
     */
    @PropertyDef(label = "记账标志")
    @Column(name = "bpt")
    private Integer bpt;
 
    @PropertyDef(label = "附件张数")
    @Column(name = "nanum")
    private Integer nanum;
 
    @PropertyDef(label = "金额")
    @Column(name = "nm", precision = 20, scale = 4)
    private Double nm;
 
    @PropertyDef(label = "数量")
    @Column(name = "nqty", precision = 20, scale = 4)
    private Double nqty;
 
    @PropertyDef(label = "单价")
    @Column(name = "nprice", precision = 20, scale = 4)
    private Double nprice;
 
    @PropertyDef(label = "出纳")
    @Column(name = "ccashier", length = 32)
    private String ccashier;
 
    @PropertyDef(label = "汇率")
    @Column(name = "rate", precision = 20, scale = 4)
    private Double rate;
 
    @PropertyDef(label = "外币金额")
    @Column(name = "nfm", precision = 20, scale = 4)
    private Double nfm;
 
    @PropertyDef(label = "计量单位", description = "计量单位汉字")
    @Column(name = "meterunitid", length = 32)
    private String meterunitid;
 
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @Column(name = "zhgxsj")
    private Date zhgxsj;
 
}