Blame view

src/main/java/com/huaheng/pc/system/dict/domain/DictData.java 3.23 KB
tangying authored
1
2
package com.huaheng.pc.system.dict.domain;
3
4
5
6
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
tangying authored
7
8
9
import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.common.collect.Maps;
import com.huaheng.framework.aspectj.lang.annotation.Excel;
10
11
import lombok.Data;
tangying authored
12
13
14
15
16
17
18
19
20
import java.io.Serializable;
import java.util.Date;
import java.util.Map;

/**
 * 字典数据表 sys_dict_data
 * 
 * @author huaheng
 */
21
22
@Data
@TableName(value = "sys_dict_data")
tangying authored
23
24
25
26
27
28
public class DictData
{
    private static final long serialVersionUID = 1L;

    /** 字典编码 */
    @Excel(name = "字典明细id")
29
    @TableId(value = "id",type = IdType.AUTO)
tangying authored
30
31
32
33
    private Integer id;

    /** 字典头id */
    @Excel(name = "字典头id")
34
    @TableField(value = "headerId")
tangying authored
35
36
37
38
    private Integer headerId;

    /** 仓库Id */
    @Excel(name = "仓库Id")
39
    @TableField(value = "warehouseId")
tangying authored
40
41
42
43
    private Integer warehouseId;

    /** 仓库编码 */
    @Excel(name = "仓库编码")
44
    @TableField(value = "warehouseCode")
tangying authored
45
46
47
48
    private String warehouseCode;

    /** 字典排序 */
    @Excel(name = "字典排序")
49
    @TableField(value = "dictSort")
tangying authored
50
51
52
53
    private Integer dictSort;

    /** 字典标签 */
    @Excel(name = "字典标签")
54
    @TableField(value = "dictLabel")
tangying authored
55
56
57
58
    private String dictLabel;

    /** 字典键值 */
    @Excel(name = "字典键值")
59
    @TableField(value = "dictValue")
tangying authored
60
61
62
63
    private String dictValue;

    /** 字典类型 */
    @Excel(name = "字典类型")
64
    @TableField(value = "dictType")
tangying authored
65
66
67
68
    private String dictType;

    /** 字典样式 */
    @Excel(name = "字典样式")
69
    @TableField(value = "cssClass")
tangying authored
70
71
72
    private String cssClass;

    /** 表格字典样式 */
73
    @TableField
tangying authored
74
75
76
77
    private String listClass;

    /** 是否默认(Y是 N否) */
    @Excel(name = "是否默认")
78
    @TableField
tangying authored
79
80
81
82
    private String isDefault;

    /** 启用(0未启用 1已启用) */
    @Excel(name = "启用")
83
    @TableField
tangying authored
84
85
86
87
    private Boolean enable;

    /** 删除(0未删除 1已删除) */
    @Excel(name = "删除")
88
    @TableField
tangying authored
89
90
91
92
93
94
    private Boolean deleted;

    /** 搜索值 */
    private String searchValue;

    /** 创建者 */
95
    @TableField
tangying authored
96
97
98
    private String createBy;

    /** 创建时间 */
99
    @TableField
tangying authored
100
101
102
103
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
104
    @TableField
tangying authored
105
106
107
108
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
109
    @TableField
tangying authored
110
111
112
113
    private Date updateTime;

    /** 备注 */
//    @TableField(exist=false)
114
    @TableField
tangying authored
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
    private String remark;

    /** 请求参数 */
    private Map<String, Object> params;

    @Override
    public String toString()
    {
        return "DictData [id=" + id + ", headerId=" + headerId + ", warehouseId=" + warehouseId
                + ", warehouseCode=" + warehouseCode + ", dictSort=" + dictSort + ", dictLabel=" + dictLabel
                + ", dictValue=" + dictValue + ", dictType=" + dictType + ", cssClass=" + cssClass
                + ", isDefault=" + isDefault + ", enable=" + enable + ", deleted=" + deleted + "]";
    }

}