ws
2024-10-31 5408346178dd12b7ab78fb51c76f59c300a7e153
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
package com.fzzy.api.entity;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
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_1504")
@EqualsAndHashCode(callSuper = false)
public class Api1504 extends ApiParent implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;
 
    /**
     * 通过接口获取的单位账套后,在局端自动产生账套号
     */
    @Id
    @JSONField(serialize = false)
    @PropertyDef(label = "账套号")
    @Column(name = "nAcctId", precision = 9)
    private Double nAcctId;
 
    @PropertyDef(label = "账套名称")
    @Column(name = "cAcctName", length = 256)
    private String cAcctName;
 
    @PropertyDef(label = "本位币")
    @Column(name = "cCurrency", length = 3)
    private String cCurrency;
 
    @PropertyDef(label = "会计主管")
    @Column(name = "cAcctChief", length = 20)
    private String cAcctChief;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "启用期间")
    @Column(name = "cPeriodStart", length = 10)
    private String cPeriodStart;
 
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "启用日期")
    @Column(name = "cYearBmd", length = 10)
    private String cYearBmd;
 
    @PropertyDef(label = "期间数")
    @Column(name = "nAcctPeriodNum")
    private Double nAcctPeriodNum;
 
    @PropertyDef(label = "会计制度代码", description = "11:企业会计准则制度(粮食2013版)(默认代码值)")
    @Column(name = "cAccClassCode", length = 8)
    private String cAccClassCode;
 
    @PropertyDef(label = "科目级次", description = "4-8:默认最小值为4")
    @Column(name = "nAccGrade")
    private Double nAccGrade;
 
    @PropertyDef(label = "科目编码规则", description = "4222XXXX:默认前四级级长规则为4222")
    @Column(name = "cAccCodeStr", length = 40)
    private String cAccCodeStr;
 
    @PropertyDef(label = "单位名称")
    @Column(name = "cCropName", length = 256)
    private String cCropName;
 
    @PropertyDef(label = "单位代码")
    @Column(name = "cOrgCode", length = 18)
    private String cOrgCode;
 
    @PropertyDef(label = "统一单位编码")
    @Column(name = "xqydm", length = 20)
    private String xqydm;
 
    @PropertyDef(label = "统一库区编码")
    @Column(name = "xkqdm",length = 22)
    private String xkqdm;
 
    @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;
 
}