package com.fzzy.async.fzzy35.entity;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
|
import javax.persistence.*;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 虫害统计
|
*
|
* @author: andy.jia
|
* @description:
|
* @version:
|
* @data:2019年12月25日
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_PEST")
|
@IdClass(PestKey.class)
|
public class Pest implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "BATCH_ID_", length = 40)
|
@PropertyDef(label = "批次ID")
|
private String batchId;
|
|
@Id
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码", description = "")
|
private String companyId;
|
|
@Id
|
@Column(name = "DEPOT_ID_", length = 50)
|
@PropertyDef(label = "仓库ID", description = "仓库编号")
|
private String depotId;
|
|
@Column(name = "PEST_MAX_")
|
@PropertyDef(label = "最多数量")
|
private int pestMax = 0;
|
|
@Column(name = "METHOD_", length = 10)
|
@PropertyDef(label = "虫害检测方法", description = "0-粮堆扦样;1-墙面粮面检查")
|
private String method;
|
|
@Column(name = "POSITION_", length = 30)
|
@PropertyDef(label = "发生部位")
|
private String position;
|
|
@Column(name = "PEST_TYPE_", length = 30)
|
@PropertyDef(label = "虫害种类")
|
private String pestType;
|
|
@Column(name = "PEST_LEVEL_", length = 30)
|
@PropertyDef(label = "虫粮等级判定")
|
private String pestLevel;
|
|
@Column(name = "PEST_ANALYSIS_", length = 60)
|
@PropertyDef(label = "害虫抗药性分析")
|
private String pestAnalysis;
|
|
@Column(name = "PEST_START_")
|
@PropertyDef(label = "虫害采集点开始", description = "气体配置信息")
|
private int pestStart;
|
|
@Column(name = "PEST_END_")
|
@PropertyDef(label = "虫害采集点截至", description = "气体配置信息")
|
private int pestEnd;
|
|
@Column(name = "CHECK_NUM_")
|
@PropertyDef(label = "采集通道个数")
|
private int checkNum = 0;
|
|
@Column(name = "RECEIVE_DATE_")
|
@PropertyDef(label = "检测时间")
|
private Date receiveDate;
|
|
@Column(name = "POINTS_", length = 2000)
|
@PropertyDef(label = "采集点信息", description = "固定为:passCode,num;passCode,num;")
|
private String points;
|
|
@Column(name = "CHECK_USER_", length = 30)
|
@PropertyDef(label = "检测人")
|
private String checkUser;
|
|
@Column(name = "REMARK_", length = 200)
|
@PropertyDef(label = "备注信息")
|
private String remark;
|
|
}
|