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_1506") @EqualsAndHashCode(callSuper = false) public class Api1506 extends ApiParent implements Serializable { /** * */ private static final long serialVersionUID = 1L; /** * 通过接口获取的单位账套后,在局端自动产生账套号 */ @Id @JSONField(serialize = false) @PropertyDef(label = "账套号") @Column(name = "nAcctId", length = 9) private Double nAcctId; @PropertyDef(label = "期间") @Column(name = "cYear", length = 3) private String cYear; @PropertyDef(label = "年度") @Column(name = "nNo", length = 4) private String nNo; @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", length = 3) private String 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 = "czbz", length = 1) private String czbz; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "最后更新时间") @Column(name = "zhgxsj") private Date zhgxsj; }