package com.fzzy.api.entity; 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; /** * @Description 入库成本核定明细表 * @Author CZT * @Date 2025/10/31 14:07 */ @Data @Entity @Table(name = "API_1219") public class Api1219 extends ApiParent implements Serializable { public static String SORT_PROP = "rkhddh"; @Id @PropertyDef(label = "入库核定单号", description = "验收申请日期yyyyMMdd + 4位顺序号") @Column(name = "rkhddh", length = 14) private String rkhddh; @PropertyDef(label = "货位编码" ) @Column(name = "hwdm", length = 30) private String hwdm; @PropertyDef(label = "储粮品种代码" ) @Column(name = "lspzdm", length = 7) private String lspzdm; @PropertyDef(label = "贷款金额" ) @Column(name = "dkje", precision = 20, scale = 3) private Double dkje; @PropertyDef(label = "收获年度" ) @Column(name = "shnd", length = 3) private String shnd; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "入库时间") @Column(name = "rksj") private Date rksj; @PropertyDef(label = "填报单位" ) @Column(name = "tbdw", length = 512) private String tbdw; @JSONField(format = "yyyy-MM-dd HH:mm:ss") @PropertyDef(label = "填报时间") @Column(name = "tbsj") private Date tbsj; @PropertyDef(label = "单位负责人") @Column(name = "dwfzr", length = 512) private String dwfzr; @PropertyDef(label = "填报人") @Column(name = "tbr", length = 512) private String tbr; @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; }