| | |
| | | |
| | | 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.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | |
| | | * 通过接口获取的单位账套后,在局端自动产生账套号 |
| | | */ |
| | | @Id |
| | | @Column(name = "ID_", precision = 18) |
| | | @JSONField(serialize = false) |
| | | private String id; |
| | | |
| | | @PropertyDef(label = "账套号") |
| | | @Column(name = "nAcctId", length = 9) |
| | | private Double nAcctId; |
| | | @Column(name = "nacctid", length = 23) |
| | | private String nacctid; |
| | | |
| | | @PropertyDef(label = "凭证类型") |
| | | @Column(name = "cVKind", length = 9) |
| | | private String cVKind; |
| | | @Column(name = "cvkind", length = 9) |
| | | private String cvkind; |
| | | |
| | | @PropertyDef(label = "期间") |
| | | @Column(name = "cMon", length = 3) |
| | | private Double cMon; |
| | | @Column(name = "cmon") |
| | | private Integer cmon; |
| | | |
| | | @PropertyDef(label = "年度") |
| | | @Column(name = "cYear", length = 4) |
| | | private Double cYear; |
| | | @Column(name = "cyear") |
| | | private Integer cyear; |
| | | |
| | | @PropertyDef(label = "凭证号") |
| | | @Column(name = "nVNo", length = 9) |
| | | private Double nVNo; |
| | | @Column(name = "nvno") |
| | | private Integer nvno; |
| | | |
| | | @PropertyDef(label = "分录序号") |
| | | @Column(name = "nNo", precision = 9) |
| | | private Double nNo; |
| | | |
| | | @PropertyDef(label = "凭证分类") |
| | | @Column(name = "bTmp", precision = 3) |
| | | private Double bTmp; |
| | | @Column(name = "nno") |
| | | private Integer nno; |
| | | |
| | | @PropertyDef(label = "摘要") |
| | | @Column(name = "Digest", length = 256) |
| | | private String Digest; |
| | | @Column(name = "digest", length = 512) |
| | | private String digest; |
| | | |
| | | @PropertyDef(label = "科目编码") |
| | | @Column(name = "cCode", length = 80) |
| | | private Double cCode; |
| | | @Column(name = "ccode", length = 80) |
| | | private String ccode; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "凭证日期") |
| | | @Column(name = "cVSmallDatetime", length = 10) |
| | | private String cVSmallDatetime; |
| | | @Column(name = "ccsmalldatetime", length = 10) |
| | | private Date ccsmalldatetime; |
| | | |
| | | @PropertyDef(label = "制单人") |
| | | @Column(name = "cMaker", length = 32) |
| | | private String cMaker; |
| | | @Column(name = "cmaker", length = 32) |
| | | private String cmaker; |
| | | /** |
| | | * 1:借方 |
| | | * -1:贷方 |
| | | */ |
| | | @PropertyDef(label = "方向") |
| | | @Column(name = "cDc", precision = 3) |
| | | private Double cDc; |
| | | @Column(name = "cdc") |
| | | private Integer cdc; |
| | | |
| | | @PropertyDef(label = "审核人") |
| | | @Column(name = "cCkEr", length = 32) |
| | | private String cCkEr; |
| | | @Column(name = "ccker", length = 32) |
| | | private String ccker; |
| | | |
| | | @PropertyDef(label = "记账人") |
| | | @Column(name = "cPtEr", length = 32) |
| | | private String cPtEr; |
| | | @Column(name = "cpter", length = 32) |
| | | private String cpter; |
| | | /** |
| | | * 0:否 |
| | | * 1:是 |
| | | */ |
| | | @PropertyDef(label = "记账标志") |
| | | @Column(name = "bPt", precision = 3) |
| | | private Double bPt; |
| | | @Column(name = "bpt") |
| | | private Integer bpt; |
| | | |
| | | @PropertyDef(label = "附件张数") |
| | | @Column(name = "nANum", precision = 9) |
| | | private Double nANum; |
| | | @Column(name = "nanum") |
| | | private Integer nanum; |
| | | |
| | | @PropertyDef(label = "金额") |
| | | @Column(name = "nM", precision = 20, scale = 4) |
| | | private Double nM; |
| | | @Column(name = "nm", precision = 20, scale = 4) |
| | | private Double nm; |
| | | |
| | | @PropertyDef(label = "数量") |
| | | @Column(name = "nQty", precision = 20, scale = 4) |
| | | private Double nQty; |
| | | @Column(name = "nqty", precision = 20, scale = 4) |
| | | private Double nqty; |
| | | |
| | | @PropertyDef(label = "单价") |
| | | @Column(name = "nPrice", precision = 20, scale = 4) |
| | | private Double nPrice; |
| | | @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; |
| | | @Column(name = "ccashier", length = 32) |
| | | private String ccashier; |
| | | |
| | | @PropertyDef(label = "汇率") |
| | | @Column(name = "rate", precision = 20, scale = 4) |
| | | @Column(name = "rate", precision = 20, scale = 4) |
| | | private Double rate; |
| | | |
| | | @PropertyDef(label = "外币金额") |
| | | @Column(name = "nFm", precision = 20, scale = 4) |
| | | private Double nFm; |
| | | @Column(name = "nfm", precision = 20, scale = 4) |
| | | private Double nfm; |
| | | |
| | | @PropertyDef(label = "计量单位",description = "计量单位汉字") |
| | | @Column(name = "meterUnitId", length = 32) |
| | | private String meterUnitId; |
| | | @PropertyDef(label = "计量单位", description = "计量单位汉字") |
| | | @Column(name = "meterunitid", length = 32) |
| | | private String meterunitid; |
| | | |
| | | @PropertyDef(label = "统一库区编码") |
| | | @Column(name = "tykqbm", length = 22) |
| | | private String tykqbm; |
| | | |
| | | @PropertyDef(label = "操作标志") |
| | | @Column(name = "czbz", length = 1) |