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_1506") public class Fz40Api1506 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 = "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; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "最后更新时间") @Column(name = "zhgxsj") private Date zhgxsj; }