package com.fzzy.api.entity;
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
import com.bstek.dorado.annotation.PropertyDef;
|
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
import org.hibernate.annotations.GenericGenerator;
|
|
import javax.persistence.*;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 接口表-储备规模数据表
|
*
|
* @author chen
|
* @date 2022-09-02 16:03
|
*/
|
@Data
|
@Entity
|
@Table(name = "API_1401")
|
@EqualsAndHashCode(callSuper=false)
|
public class Api1401 implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@JSONField(serialize = false)
|
@GenericGenerator(name = "generator", strategy = "increment")
|
@GeneratedValue(generator = "generator")
|
@PropertyDef(label = "主键id", description = "接口返回不涉及此字段")
|
@Column(name = "ID_")
|
private Integer id;
|
|
@JSONField(serialize = false)
|
@PropertyDef(label = "业务id")
|
@Column(name = "bizId", length = 40)
|
private String bizId;
|
|
@PropertyDef(label = "库区代码")
|
@Column(name = "kqdm", length = 21)
|
private String kqdm;
|
|
@PropertyDef(label = "年份" )
|
@Column(name = "nf", length = 4, nullable = false)
|
private String nf;
|
|
@PropertyDef(label = "行政区划代码" )
|
@Column(name = "xzqhdm", length = 6, nullable = false)
|
private String xzqhdm;
|
|
@PropertyDef(label = "承储企业" )
|
@Column(name = "ccqy", length = 18, nullable = false)
|
private String ccqy;
|
|
@PropertyDef(label = "粮食品种" )
|
@Column(name = "ylpz", length = 16)
|
private String ylpz;
|
|
@PropertyDef(label = "粮食性质" )
|
@Column(name = "ylxz", length = 16)
|
private String ylxz;
|
|
@PropertyDef(label = "储备规模计划数量" )
|
@Column(name = "ylcbgmjhsl", precision = 20, scale = 6)
|
private double ylcbgmjhsl;
|
|
@PropertyDef(label = "储备规模计划文号" )
|
@Column(name = "cbgmjhwh", length = 128)
|
private String cbgmjhwh;
|
|
@PropertyDef(label = "备注" )
|
@Column(name = "remarks", length = 256)
|
private String remarks;
|
|
@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;
|
|
}
|