| | |
| | | |
| | | 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 |
| | | @JSONField(serialize = false) |
| | | @PropertyDef(label = "账套号") |
| | | @Column(name = "nAcctId", precision = 9) |
| | | private Double nAcctId; |
| | | @Column(name = "nacctid", precision = 23) |
| | | private String nacctid; |
| | | |
| | | @PropertyDef(label = "账套名称") |
| | | @Column(name = "cAcctName", length = 256) |
| | | private String cAcctName; |
| | | @Column(name = "cncctname", length = 256) |
| | | private String cncctname; |
| | | |
| | | @PropertyDef(label = "本位币") |
| | | @Column(name = "cCurrency", length = 3) |
| | | private String cCurrency; |
| | | @Column(name = "ccurrency", length = 3) |
| | | private String ccurrency; |
| | | |
| | | @PropertyDef(label = "会计主管") |
| | | @Column(name = "cAcctChief", length = 20) |
| | | private String cAcctChief; |
| | | @Column(name = "cacctchief", length = 20) |
| | | private String cacctchief; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "启用期间") |
| | | @Column(name = "cPeriodStart", length = 10) |
| | | private String cPeriodStart; |
| | | @JSONField(format = "yyyyMM") |
| | | @PropertyDef(label = "启用期间", description = "yyyyMM") |
| | | @Column(name = "cperiodstart", length = 10) |
| | | private Date cperiodstart; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "启用日期") |
| | | @Column(name = "cYearBmd", length = 10) |
| | | private String cYearBmd; |
| | | @Column(name = "cyearbmd", length = 10) |
| | | private Date cyearbmd; |
| | | |
| | | @PropertyDef(label = "期间数") |
| | | @Column(name = "nAcctPeriodNum") |
| | | private Double nAcctPeriodNum; |
| | | @PropertyDef(label = "期间数", description = "默认12") |
| | | @Column(name = "nacctperiodnum") |
| | | private Integer nacctperiodnum; |
| | | |
| | | @PropertyDef(label = "会计制度代码", description = "11:企业会计准则制度(粮食2013版)(默认代码值)") |
| | | @Column(name = "cAccClassCode", length = 8) |
| | | private String cAccClassCode; |
| | | @Column(name = "caccclasscode", length = 2) |
| | | private String caccclasscode; |
| | | |
| | | @PropertyDef(label = "科目级次", description = "4-8:默认最小值为4") |
| | | @Column(name = "nAccGrade") |
| | | private Double nAccGrade; |
| | | @Column(name = "naccgrade") |
| | | private Integer naccgrade; |
| | | |
| | | @PropertyDef(label = "科目编码规则", description = "4222XXXX:默认前四级级长规则为4222") |
| | | @Column(name = "cAccCodeStr", length = 40) |
| | | private String cAccCodeStr; |
| | | @Column(name = "cacccodestr", length = 40) |
| | | private String cacccodestr; |
| | | |
| | | @PropertyDef(label = "单位名称") |
| | | @Column(name = "cCropName", length = 256) |
| | | private String cCropName; |
| | | @Column(name = "ccropname", length = 256) |
| | | private String ccropname; |
| | | |
| | | @PropertyDef(label = "单位代码") |
| | | @Column(name = "cOrgCode", length = 18) |
| | | private String cOrgCode; |
| | | @Column(name = "corgcode", length = 18) |
| | | private String corgcode; |
| | | |
| | | @PropertyDef(label = "统一单位编码") |
| | | @Column(name = "xqydm", length = 20) |
| | | private String xqydm; |
| | | @Column(name = "tydwbm", length = 20) |
| | | private String tydwbm; |
| | | |
| | | @PropertyDef(label = "统一库区编码") |
| | | @Column(name = "xkqdm",length = 22) |
| | | private String xkqdm; |
| | | @Column(name = "tykqbm", length = 22) |
| | | private String tykqbm; |
| | | |
| | | @PropertyDef(label = "操作标志") |
| | | @Column(name = "czbz", length = 1) |