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:10
|
*/
|
@Data
|
@Entity
|
@Table(name = "API_1303")
|
@EqualsAndHashCode(callSuper=false)
|
public class Api1303 extends ApiParent implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 7545059969928419761L;
|
|
@Id
|
@PropertyDef(label = "害虫检测单号" ,description = "由货位代码+检测日期(yyyyMMdd)+4 位顺序号组成")
|
@Column(name = "hcjcdh", length = 42, nullable = false)
|
private String hcjcdh;
|
|
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
@PropertyDef(label = "检测时间" )
|
@Column(name = "jcsj", nullable = false)
|
private Date jcsj;
|
|
@PropertyDef(label = "货位代码" )
|
@Column(name = "hwdm", length = 30, nullable = false)
|
private String hwdm;
|
|
@PropertyDef(label = "检查害虫方法" )
|
@Column(name = "jchcff", length = 1, nullable = false)
|
private String jchcff;
|
|
@PropertyDef(label = "发生部位" )
|
@Column(name = "fsbw", length = 128)
|
private String fsbw;
|
|
@PropertyDef(label = "害虫种类" )
|
@Column(name = "hczl", length = 128, nullable = false)
|
private String hczl;
|
|
@PropertyDef(label = "虫口密度值集合" )
|
@Column(name = "ckmdzjh", length = 8000, nullable = false)
|
private String ckmdzjh;
|
|
@PropertyDef(label = "虫粮等级判定" )
|
@Column(name = "cldjpd", length = 3, nullable = false)
|
private String cldjpd;
|
|
@PropertyDef(label = "害虫抗药性分析" )
|
@Column(name = "hckyxfx", length = 128)
|
private String hckyxfx;
|
|
@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;
|
|
}
|