智慧农业后台管理
guoshilong
2022-08-19 4d60a2ee6bbfe76e2740307c832c8f309090a41e
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
package org.springblade.modules.farmplant.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.springblade.core.tenant.mp.TenantEntity;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
 
/**
 * 种养品种实体类
 * @since 2022-05-12
 * @author zhongrj
 */
@Data
@TableName("sys_strain")
public class Strain implements Serializable{
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
 
    /**
     * 名称
     */
    private String strainName;
 
    /**
     * 品种类型(0:种植业 1:水产业)
     */
    private String strainType;
 
 
    /**
     * 品种图片url
     */
    private String url;
 
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
 
 
    /**
     * 别名
     */
    private String alias;
 
    /**
     * 农场id
     */
    private String deptId;
 
    /**
     * 租户id
     */
    private String tenantId;
}