package com.fzzy.api.entity; import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.*; 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 @Column(name = "ID_", precision = 110) @JSONField(serialize = false) private String id; @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; @PropertyDef(label = "统一库区编码") @Column(name = "tykqbm", length = 22) private String tykqbm; @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; }