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.*;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 接口表-储备计划信息数据表
|
*
|
* @author chen
|
* @date 2022-09-02 16:03
|
*/
|
@Data
|
@Entity
|
@Table(name = "API_1402")
|
@EqualsAndHashCode(callSuper=false)
|
public class Api1402 implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@PropertyDef(label = "计划单号" )
|
@Column(name = "jhdh", length = 21, nullable = false)
|
private String jhdh;
|
|
@PropertyDef(label = "计划文号" )
|
@Column(name = "jhwh", length = 128, nullable = false)
|
private String jhwh;
|
|
@PropertyDef(label = "计划名称" )
|
@Column(name = "jhmc", length = 256, nullable = false)
|
private String jhmc;
|
|
@PropertyDef(label = "计划年度" )
|
@Column(name = "jhnd", length = 4, nullable = false)
|
private String jhnd;
|
|
@PropertyDef(label = "制定计划单位" )
|
@Column(name = "jhzddw", length = 128, nullable = false)
|
private String jhzddw;
|
|
@JSONField(format = "yyyy-MM-dd")
|
@PropertyDef(label = "计划下达时间" )
|
@Column(name = "jhxdsj", nullable = false)
|
private Date jhxdsj;
|
|
@PropertyDef(label = "粮食品种代码" )
|
@Column(name = "lspzdm", length = 7, nullable = false)
|
private String lspzdm;
|
|
@PropertyDef(label = "粮食等级代码" )
|
@Column(name = "lsdjdm", length = 2, nullable = false)
|
private String lsdjdm;
|
|
@PropertyDef(label = "粮食性质代码" )
|
@Column(name = "lsxzdm", length = 3, nullable = false)
|
private String lsxzdm;
|
|
@PropertyDef(label = "数量" )
|
@Column(name = "sl", precision = 20, scale = 6, nullable = false)
|
private double sl;
|
|
@PropertyDef(label = "操作标志" )
|
@Column(name = "czbz", length = 1, nullable = false)
|
private String czbz;
|
|
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
@PropertyDef(label = "最后更新时间" )
|
@Column(name = "zhgxsj", nullable = false)
|
private Date zhgxsj;
|
|
@JSONField(serialize = false)
|
@PropertyDef(label = "业务id")
|
@Column(name = "bizId", length = 40)
|
private String bizId;
|
|
@PropertyDef(label = "库区代码")
|
@Column(name = "kqdm", length = 21)
|
private String kqdm;
|
|
@JSONField(serialize = false)
|
@PropertyDef(label = "同步时间", description = "从粮库系统同步到接口管理中心的时间")
|
@Column(name = "syncTime")
|
private Date syncTime;
|
|
}
|