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_1509")
|
@EqualsAndHashCode(callSuper = false)
|
public class Api1509 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 = "fixAssetCode", length = 20)
|
private String fixAssetCode;
|
|
@PropertyDef(label = "固定资产自编码")
|
@Column(name = "origFixAssetCode", length = 20)
|
private String origFixAssetCode;
|
|
@PropertyDef(label = "资产类别编码")
|
@Column(name = "groupCode", length = 20)
|
private String groupCode;
|
|
@PropertyDef(label = "固定资产名称")
|
@Column(name = "fixAssetName", length = 80)
|
private String fixAssetName;
|
|
@PropertyDef(label = "计量单位名称")
|
@Column(name = "unitName", length = 20)
|
private String unitName;
|
|
@PropertyDef(label = "原值")
|
@Column(name = "valueOrg", length = 20, scale = 4)
|
private Double valueOrg;
|
|
@PropertyDef(label = "当前原值")
|
@Column(name = "dresentValueOrg", length = 20, scale = 4)
|
private Double dresentValueOrg;
|
/**
|
* 1:不提折旧法
|
* 2:平均年限法
|
* 3:动态平均年限法
|
* 4:工作量法
|
* 5:年数总和法
|
* 6:双倍余额递减法
|
*/
|
@PropertyDef(label = "折旧方法")
|
@Column(name = "deprMethodId", length = 20, scale = 4)
|
private Double deprMethodId;
|
|
@PropertyDef(label = "固定资产来源")
|
@Column(name = "sourceid", length = 12)
|
private Double sourceid;
|
/**
|
* 1:投资
|
* 2:自建
|
* 3:购买
|
* 4:融资租赁
|
* 5:经营租入
|
* 6:无偿调入
|
* 7:捐赠
|
* 8:换入
|
*/
|
@PropertyDef(label = "对方科目编码")
|
@Column(name = "cDFCode", length = 80)
|
private String cDFCode;
|
|
@PropertyDef(label = "型号")
|
@Column(name = "model", length = 40)
|
private String model;
|
|
@PropertyDef(label = "规格")
|
@Column(name = "specs", length = 40)
|
private String specs;
|
|
@PropertyDef(label = "制造商")
|
@Column(name = "manufacturer", length = 60)
|
private String manufacturer;
|
|
@PropertyDef(label = "产地")
|
@Column(name = "makingPlace", length = 40)
|
private String makingPlace;
|
|
@JSONField(format = "yyyy-MM-dd")
|
@PropertyDef(label = "进单位日期")
|
@Column(name = "enterDay", length = 10)
|
private String enterDay;
|
|
@JSONField(format = "yyyy-MM-dd")
|
@PropertyDef(label = "开始使用日期")
|
@Column(name = "beginUseDay", length = 10)
|
private String beginUseDay;
|
|
@JSONField(format = "yyyy-MM-dd")
|
@PropertyDef(label = "建卡日期")
|
@Column(name = "makinDay", length = 10)
|
private String makinDay;
|
|
@PropertyDef(label = "管理人")
|
@Column(name = "keeper", length = 20)
|
private String keeper;
|
|
@PropertyDef(label = "建卡人")
|
@Column(name = "maker", length = 20)
|
private String maker;
|
|
@PropertyDef(label = "预计使用期间数")
|
@Column(name = "usingPeriods", precision = 12)
|
private Double usingPeriods;
|
|
@PropertyDef(label = "预计净残值")
|
@Column(name = "expecRemain", precision = 20, scale = 4)
|
private Double expecRemain;
|
|
@PropertyDef(label = "固定资产对应科目编码")
|
@Column(name = "assetAcctCode", length = 20)
|
private String assetAcctCode;
|
|
@PropertyDef(label = "累计折旧对应科目编码")
|
@Column(name = "deprAcctCode", length = 20)
|
private String deprAcctCode;
|
|
|
@PropertyDef(label = "累计折旧")
|
@Column(name = "accumulateDepr", precision = 20, scale = 4)
|
private Double accumulateDepr;
|
/**
|
* 0:否
|
* 1:是
|
*/
|
@PropertyDef(label = "是否报废清理")
|
@Column(name = "abadoned", length = 20)
|
private String abadoned;
|
|
/**
|
* 1:在使用
|
* 2:未使用
|
* 3:停用
|
* 4:出售
|
* 5:报损
|
* 6:盘亏
|
*/
|
@PropertyDef(label = "当前使用状态名称")
|
@Column(name = "presentStatus", length = 20)
|
private String presentStatus;
|
|
@PropertyDef(label = "备注")
|
@Column(name = "notes", length = 512)
|
private String notes;
|
|
@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;
|
|
}
|