干燥机配套车间生产管理系统/云平台服务端
zhuguifei
2024-11-29 339515558253d776769dc2e2560bbb4a0450c989
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
package org.jeecg.modules.system.model;
 
import java.io.Serializable;
import java.util.Date;
 
import org.jeecg.modules.system.entity.SysDict;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
 
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
 
/**
 * <p>
 * 字典表
 * </p>
 *
 * @Author zhangweijian
 * @since 2018-12-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysDictTree implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    private String key;
    
    private String title;
    
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**
     * 字典类型,0 string,1 number类型,2 boolean
     * 前端js对stirng类型和number类型 boolean 类型敏感,需要区分。在select 标签匹配的时候会用到
     * 默认为string类型
     */
    private Integer type;
    
    /**
     * 字典名称
     */
    private String dictName;
 
    /**
     * 字典编码
     */
    private String dictCode;
 
    /**
     * 描述
     */
    private String description;
 
    /**
     * 删除状态
     */
    private Integer delFlag;
 
    /**
     * 创建人
     */
    private String createBy;
 
    /**
     * 创建时间
     */
    private Date createTime;
 
    /**
     * 更新人
     */
    private String updateBy;
 
    /**
     * 更新时间
     */
    private Date updateTime;
    
    public SysDictTree(SysDict node) {
        this.id = node.getId();
        this.key = node.getId();
        this.title = node.getDictName();
        this.dictCode = node.getDictCode();
        this.description = node.getDescription();
        this.delFlag = node.getDelFlag();
        this.type = node.getType();
    }
    
}