package com.fzzy.async.fzzy61.entity; /** * @Author: YYC * @Description: * @DateTime: 2024-12-19 14:23 **/ import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; 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_1508") public class Fz61Api1508 implements Serializable { /** * */ private static final long serialVersionUID = 1L; /** * 通过接口获取的单位账套后,在局端自动产生账套号 */ @Id @Column(name = "ID_", length = 40) private String id; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码") private String companyId; @Column(name = "DEPT_ID_", length = 30) @PropertyDef(label = "所属分库") private String deptId; @PropertyDef(label = "账套号") @Column(name = "nacctid", length = 23) private String nacctid; @PropertyDef(label = "凭证类型") @Column(name = "cvkind", length = 10) private String cvkind; @PropertyDef(label = "期间") @Column(name = "cmon") private Integer cmon; @PropertyDef(label = "年度") @Column(name = "cyear") private Integer cyear; @PropertyDef(label = "凭证号") @Column(name = "nvno") private Integer nvno; @PropertyDef(label = "科目编码") @Column(name = "ccode", length = 80) private String ccode; @PropertyDef(label = "对方科目编码") @Column(name = "cdfcode", length = 80) private String cdfcode; @PropertyDef(label = "现金流量项目代码") @Column(name = "ccashcode", length = 80) private String ccashcode; @PropertyDef(label = "分录序号") @Column(name = "nrowno") private Integer nrowno; @PropertyDef(label = "金额") @Column(name = "nm", precision = 20, scale = 4) private Double nm; /** * 1:流入 * -1:流出 */ @PropertyDef(label = "方向") @Column(name = "cdc") private Integer cdc; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "最后更新时间") @Column(name = "zhgxsj") private Date zhgxsj; }