智慧农业后台管理
tangzy
2022-07-16 77dd7d19bb13f19acd273ba92dfd2b866a229c5e
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
package org.springblade.modules.farm.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 农场检测报告/证书实体类
 * @since 2022-05-10
 * @author zhongrj
 */
@Data
@TableName("sys_farm_paper")
public class FarmPaper implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
 
    /**
     * 证书名称/检测项目
     */
    private String name;
 
    /**
     * 检测/颁发机构名称
     */
    private String organName;
 
 
    /**
     * 证书/报告编号
     */
    private String code;
 
 
    /**
     * 证书/报告颁发日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;
 
 
    /**
     * 证书/报告照片
     */
    private String pictures;
 
    /**
     * 农场位置(面)
     */
    private String type;
 
    /**
     * 公司id
     */
    private String deptId;
 
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
 
    /**
     * 农场id
     */
    private Integer farmId;
 
}