CZT
2023-08-03 447604c07b8e57ef19ac3ee8b7e22bd20fa44f9c
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
package com.fzzy.api.entity;
 
import com.bstek.dorado.annotation.PropertyDef;
import com.fzzy.api.Constant;
import lombok.Data;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
 
/**
 * 接口表-害虫种类
 *
 * @author he
 */
@Data
@Entity
@Table(name = "GB_PEST_TYPE")
public class GbPestType implements Serializable {
 
    /**
     * 
     */
    private static final long serialVersionUID = -8869472973483898721L;
 
    @Id
    @Column(name = "CODE_", length = 20)
    @PropertyDef(label = "接口编码")
    public String code;
 
    @Column(name = "NAME_", length = 20)
    @PropertyDef(label = "名称")
    public String name;
 
    @Column(name = "PARENT_CODE_", length = 20)
    @PropertyDef(label = "父编码")
    public String parentCode = Constant.DEFAULT_CODE;
 
    @Column(name = "DISABLED_TAG_", length = 20)
    @PropertyDef(label = "禁用")
    public String disabledTag;
 
    @Column(name = "SIMPLE_", length = 2)
    @PropertyDef(label = "是否默认")
    public String simple;
 
    @Column(name = "REMARK_", length = 100)
    @PropertyDef(label = "备注说明")
    public String remark;
}