package com.fkzy.warn.model;

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.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author yuyantian
 * @date 2023/10/18 10:45
 * @description  数据字典项
 */
@TableName("t_sys_dict_item")
@Data
public class DictItem extends Model<DictItem> {
    /**
     * id
     */
    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 字典id
     */
    @ApiModelProperty("字典id")
    @TableField(value = "dict_id")
    private String dictId;
    /**
     * 字典项名称
     */
    @ApiModelProperty("字典项名称")
    @TableField(value = "dict_item_name")
    private String dictItemName;

    /**
     * 字典项code
     */
    @ApiModelProperty("字典项code")
    @TableField(value = "dict_item_code")
    private String dictItemCode;
    
    /**
     * 排序
     */
    @ApiModelProperty("排序")
    @TableField(value = "dict_item_rank")
    private Integer dictItemRank;
    /**
     * 字典项描述
     */
    @ApiModelProperty("字典项描述")
    @TableField(value = "dict_item_desc")
    private String dictItemDesc;
    /**
     * 是否删除：0否1是
     */
    @ApiModelProperty("是否删除：0否1是")
    @TableField(value = "is_del")
    private Integer isDel;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @TableField(value = "create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    @TableField(value = "edit_time")
    private String editTime;
    /**
     * 删除时间
     */
    @ApiModelProperty("删除时间")
    @TableField(value = "delete_time")
    private String deleteTime;
    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    @TableField(value = "creator")
    private String creator;
    /**
     * 操作人
     */
    @ApiModelProperty("操作人")
    @TableField(value = "operator")
    private String operator;
}
