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_1505")
|
@EqualsAndHashCode(callSuper = false)
|
public class Api1505 extends ApiParent implements Serializable {
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 通过接口获取的单位账套后,在局端自动产生账套号
|
*/
|
@Id
|
@JSONField(serialize = false)
|
@PropertyDef(label = "账套号")
|
@Column(name = "nAcctId", length = 9)
|
private Double nAcctId;
|
|
@JSONField(serialize = false)
|
@PropertyDef(label = "年度")
|
@Column(name = "cYear", length = 4)
|
private Double cYear;
|
|
@PropertyDef(label = "科目编码")
|
@Column(name = "cCode", length = 80)
|
private String cCode;
|
|
@PropertyDef(label = "科目名称")
|
@Column(name = "cName", length = 256)
|
private String cName;
|
|
@PropertyDef(label = "科目全称")
|
@Column(name = "cAllName", length = 65536)
|
private String cAllName;
|
|
/**
|
* 1:资产类
|
* 2:负债类
|
* 3:共同类
|
* 4:所有者权益类
|
* 5:成本费用类
|
* 6:损益类
|
*/
|
@PropertyDef(label = "科目类别")
|
@Column(name = "nClass", length = 9)
|
private String nClass;
|
/**
|
* (-1)-贷方;1-借方
|
*/
|
@PropertyDef(label = "余额方向")
|
@Column(name = "cDc", length = 3)
|
private Double cDc;
|
|
@PropertyDef(label = "末级科目")
|
@Column(name = "bL")
|
private Double bL;
|
|
@PropertyDef(label = "科目级次")
|
@Column(name = "nGrade", length = 8)
|
private Double nGrade;
|
|
@PropertyDef(label = "数量科目")
|
@Column(name = "bQ")
|
private Double bQ;
|
|
@PropertyDef(label = "数量单位")
|
@Column(name = "cQUnit")
|
private Double cQUnit;
|
|
@PropertyDef(label = "现金类科目")
|
@Column(name = "bCash")
|
private Double bCash;
|
|
@PropertyDef(label = "银行类科目")
|
@Column(name = "bBank")
|
private Double bBank;
|
|
@PropertyDef(label = "现金流量类科目")
|
@Column(name = "bXjll")
|
private Double bXjll;
|
|
@PropertyDef(label = "冻结")
|
@Column(name = "bF")
|
private String bF;
|
|
@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;
|
|
}
|