package com.dk.mdm.model.response.mst;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dk.common.infrastructure.annotaiton.ExportTitle;
import com.dk.common.infrastructure.handler.TimestampTypeHandler;
import com.dk.common.infrastructure.handler.UuidTypeHandler;
import com.dk.common.model.pojo.PageInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *  数据字典
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ExportTitle("数据字典")
@TableName(value = "t_mst_dictionary_data", autoResultMap = true,schema = "dkic_b")
@ApiModel(value="实体类：数据字典", description="表名：t_mst_dictionary_data")
public class DictionaryDataResponse extends PageInfo<DictionaryDataResponse> implements Serializable {

    /*
     * 数据库字段
     */

    /**
     * 数据ID
     */
    @TableId(value = "data_id", type = IdType.AUTO)
    @ApiModelProperty(value = "数据ID")
    @TableField(typeHandler = UuidTypeHandler.class)
    private String dataId;


    /**
     * 字典项目
     */
    @Excel(name = "字典项目")
    @ApiModelProperty(value = "字典项目")
    private String dictCode;


    /**
     * 字典数据
     */
    @Excel(name = "字典数据")
    @ApiModelProperty(value = "字典数据")
    private String dataValue;


    /**
     * 显示顺序 (【1 ～ 46655】)
     */
    @Excel(name = "显示顺序 (【1 ～ 46655】)")
    @ApiModelProperty(value = "显示顺序 (【1 ～ 46655】)")
    private Integer displayNo;


    /**
     * 备注
     */
    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remarks;


    /**
     * 有效标识 (1：正常 0：停用)
     */
    @Excel(name = "有效标识 (1：正常 0：停用)")
    @ApiModelProperty(value = "有效标识 (1：正常 0：停用)")
    private Boolean flgValid;


    /**
     * 企业ID
     */
    @Excel(name = "企业ID")
    @ApiModelProperty(value = "企业ID")
    private Integer cpId;



    @Excel(name = "系统代码 (页面不显示)")
    @ApiModelProperty(value = "系统代码 (页面不显示)")
    private String sysCode;


    @ApiModelProperty(value = "")
    private String dataCode;


    @ApiModelProperty(value = "")
    private Boolean flgDefault;


    private static final long serialVersionUID = 1L;

}
