yz
2021-02-19 fce7d0da28ea583f05fa41d0b5f740a1a6c11bce
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
package cc.mrbird.febs.common.core.entity.system;
 
import cc.mrbird.febs.common.core.annotation.FieldInfo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;
 
import java.io.Serializable;
 
/**
 * name:Dic
 * package:cc.mrbird.febs.server.system.controller
 * description:数据字典数据表映射实体
 *
 * @author luoyibo
 * @date 2021-02-02 11:29:33
 * @since JDK1.8
 */
@Data
@TableName("t_dic")
public class Dic implements Serializable {
 
    private static final long serialVersionUID = 2822776169454641834L;
    @FieldInfo(name = "dicId", type = "bigint", explain = "字典Id")
    @TableId(value = "dicId")
    private Long dicId = 0L;
 
    @FieldInfo(name = "dicName", type = "varchar", explain = "字典名称")
    @TableField("dicName")
    private String dicName = "";
 
    @FieldInfo(name = "dicCode", type = "varchar", explain = "字典代码")
    @TableField("dicCode")
    private String dicCode = "";
 
    @FieldInfo(name = "parentDic", type = "bigint", explain = "上级字典")
    @TableField("parentDic")
    private Long parentDic = 0L;
 
    @FieldInfo(name = "dicDescribe", type = "varchar", explain = "字典说明")
    @TableField("dicDescribe")
    private String dicDescribe = "";
 
    @FieldInfo(name = "delFlag", type = "bit", explain = "记录删除标志。0-未删除 1-已删除,默认0")
    @TableField("delFlag")
    private Integer delFlag = 0;
 
    @FieldInfo(name = "version", type = "int", explain = "记录版本号,用来进行乐观锁控制")
    @TableField("version")
    @Version
    private Integer version = 0;
}