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_1508")
|
@EqualsAndHashCode(callSuper = false)
|
public class Api1508 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 = 10)
|
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 = "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 = "nNo", precision = 9)
|
private Double nNo;
|
|
@PropertyDef(label = "金额")
|
@Column(name = "nM", precision = 20,scale = 4)
|
private Double nM;
|
|
/**
|
* 1:流入
|
* -1:流出
|
*/
|
@PropertyDef(label = "方向")
|
@Column(name = "cDc", length = 3)
|
private String cDc;
|
|
|
@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;
|
|
}
|