| 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_1505") | 
| public class Fz40Api1505 implements Serializable { | 
|     /** | 
|      * | 
|      */ | 
|     private static final long serialVersionUID = 1L; | 
|   | 
|     /** | 
|      * 通过接口获取的单位账套后,在局端自动产生账套号 | 
|      */ | 
|     @Id | 
|     @Column(name = "ID_", precision = 110) | 
|     @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 = "cyear") | 
|     private Integer cyear; | 
|   | 
|     @PropertyDef(label = "科目编码") | 
|     @Column(name = "ccode", length = 80) | 
|     private String ccode; | 
|   | 
|     @PropertyDef(label = "科目名称") | 
|     @Column(name = "cname", length = 256) | 
|     private String cname; | 
|   | 
|     @PropertyDef(label = "科目全称") | 
|     @Column(name = "callname", length = 65536) | 
|     private String callname; | 
|   | 
|     /** | 
|      * 1:资产类 | 
|      * 2:负债类 | 
|      * 3:共同类 | 
|      * 4:所有者权益类 | 
|      * 5:成本费用类 | 
|      * 6:损益类 | 
|      */ | 
|     @PropertyDef(label = "科目类别") | 
|     @Column(name = "nclass", length = 9) | 
|     private String nclass; | 
|     /** | 
|      * (-1)-贷方;1-借方 | 
|      */ | 
|     @PropertyDef(label = "余额方向") | 
|     @Column(name = "cdc") | 
|     private Integer cdc; | 
|   | 
|     @PropertyDef(label = "末级科目") | 
|     @Column(name = "bl") | 
|     private Integer bl; | 
|   | 
|     @PropertyDef(label = "科目级次") | 
|     @Column(name = "ngrade") | 
|     private Integer ngrade; | 
|   | 
|     @PropertyDef(label = "数量科目") | 
|     @Column(name = "bq") | 
|     private Integer bq; | 
|   | 
|     @PropertyDef(label = "数量单位") | 
|     @Column(name = "cqunit") | 
|     private Integer cqunit; | 
|   | 
|     @PropertyDef(label = "现金类科目") | 
|     @Column(name = "bcash") | 
|     private Integer bcash; | 
|   | 
|     @PropertyDef(label = "银行类科目") | 
|     @Column(name = "bbank") | 
|     private Integer bbank; | 
|   | 
|     @PropertyDef(label = "现金流量类科目") | 
|     @Column(name = "bxjll") | 
|     private Integer bxjll; | 
|   | 
|     @PropertyDef(label = "冻结") | 
|     @Column(name = "bf") | 
|     private Integer bf; | 
|   | 
|     @JSONField(format = "yyyy-MM-dd HH:mm:ss") | 
|     @PropertyDef(label = "最后更新时间") | 
|     @Column(name = "zhgxsj") | 
|     private Date zhgxsj; | 
|   | 
| } |