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_1507") @EqualsAndHashCode(callSuper = false) public class Api1507 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 = "cVKind", length = 9) private String cVKind; @PropertyDef(label = "期间") @Column(name = "cMon", length = 3) private Double cMon; @PropertyDef(label = "年度") @Column(name = "cYear", length = 4) private Double cYear; @PropertyDef(label = "凭证号") @Column(name = "nVNo", length = 9) private Double nVNo; @PropertyDef(label = "分录序号") @Column(name = "nNo", precision = 9) private Double nNo; @PropertyDef(label = "凭证分类") @Column(name = "bTmp", precision = 3) private Double bTmp; @PropertyDef(label = "摘要") @Column(name = "Digest", length = 256) private String Digest; @PropertyDef(label = "科目编码") @Column(name = "cCode", length = 80) private Double cCode; @JSONField(format = "yyyy-MM-dd") @PropertyDef(label = "凭证日期") @Column(name = "cVSmallDatetime", length = 10) private String cVSmallDatetime; @PropertyDef(label = "制单人") @Column(name = "cMaker", length = 32) private String cMaker; /** * 1:借方 * -1:贷方 */ @PropertyDef(label = "方向") @Column(name = "cDc", precision = 3) private String cDc; @PropertyDef(label = "审核人") @Column(name = "cCkEr", length = 32) private String cCkEr; @PropertyDef(label = "记账人") @Column(name = "cPtEr", length = 32) private String cPtEr; /** * 0:否 * 1:是 */ @PropertyDef(label = "记账标志") @Column(name = "bPt", precision = 3) private Double bPt; @PropertyDef(label = "附件张数") @Column(name = "nANum", precision = 9) private Double nANum; @PropertyDef(label = "金额") @Column(name = "nM", precision = 20, scale = 4) private Double nM; @PropertyDef(label = "数量") @Column(name = "nQty", precision = 20, scale = 4) private Double nQty; @PropertyDef(label = "单价") @Column(name = "nPrice", precision = 20, scale = 4) private Double nPrice; @PropertyDef(label = "结算号") @Column(name = "cSettleNo", length = 40) private String cSettleNo; @PropertyDef(label = "出纳") @Column(name = "cCashier", length = 32) private String cCashier; @PropertyDef(label = "汇率") @Column(name = "rate", precision = 20, scale = 4) private Double rate; @PropertyDef(label = "外币金额") @Column(name = "nFm", precision = 20, scale = 4) private Double nFm; @PropertyDef(label = "计量单位",description = "计量单位汉字") @Column(name = "meterUnitId", length = 32) private String meterUnitId; @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; }