package com.zhgd.xmgl.modules.basicdata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 字典数据
 * @author： pds
 * @date： 2023-02-15
 * @version： V1.0
 */
@Data
@TableName("system_dict_data")
@ApiModel(value = "SystemDictData实体类", description = "SystemDictData")
public class SystemDictData implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 字典编码
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "字典编码(主键ID)")
    private Long dictCode;
    /**
     * 字典排序
     */
    @Excel(name = "字典排序", width = 15)
    @ApiModelProperty(value = "字典排序")
    private Integer dictSort;
    /**
     * 字典标签
     */
    @Excel(name = "字典标签", width = 15)
    @ApiModelProperty(value = "字典标签")
    private Integer dictLabel;
    /**
     * 字典名称
     */
    @Excel(name = "字典名称", width = 15)
    @ApiModelProperty(value = "字典名称")
    private String dictValue;
    /**
     * 字典类型（代码中用此字段取值）
     */
    @Excel(name = "字典类型（代码中用此字段取值）", width = 15)
    @ApiModelProperty(value = "字典类型（代码中用此字段取值）")
    private String dictType;
    /**
     * 是否默认（Y是 N否）
     */
    @Excel(name = "是否默认（Y是 N否）", width = 15)
    @ApiModelProperty(value = "是否默认（Y是 N否）")
    private String isDefault;
    /**
     * 状态（0停用 1正常）
     */
    @Excel(name = "状态（0停用 1正常）", width = 15)
    @ApiModelProperty(value = "状态（0停用 1正常）")
    private Integer status;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
