CZT
2023-11-27 c206acfaedc69c390fb67daa81bc686f58a212ef
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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;
 
}