package com.ld.igds.models;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
|
import lombok.Data;
|
|
/**
|
* 采集点结果
|
* @author: andy.jia
|
* @description:
|
* @version:
|
* @data:2019年12月25日
|
*
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_PEST_INFO")
|
public class PestInfo implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "ID_", length = 50)
|
@PropertyDef(label = "ID", description = "工具类生成:companyId + depotId + batchId")
|
private String id;
|
|
@Id
|
@Column(name = "PASS_CODE_")
|
@PropertyDef(label = "通道路数", description = "第几路,不同的协议采集次数不一样")
|
private int passCode = -1;
|
|
@Column(name = "PEST_NUM_")
|
@PropertyDef(label = "单点数量")
|
private Integer pestNum = 0;
|
|
@Column(name = "PEST_TYPE_")
|
@PropertyDef(label = "虫害类型")
|
private String pestType;
|
|
@Column(name = "RECEIVE_DATE_")
|
@PropertyDef(label = "检测时间")
|
private Date receiveDate;
|
|
@Column(name = "REMARK_", length = 200)
|
@PropertyDef(label = "备注信息")
|
private String remark;
|
|
}
|