package com.usky.ems.domain;

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 lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 系统字典值（ems_system_dict_value）
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ems_system_dict_value")
public class EmsSystemDictValue implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("dict_code")
    private String dictCode;
    @TableField("parent_id")
    private Integer parentId;
    private String name;
    private String value;
    private String icon;
    private Integer sort;
    private String remark;
    @TableField("updated_by")
    private Long updatedBy;
    @TableField("update_time")
    private LocalDateTime updateTime;
    @TableField("created_by")
    private Long createdBy;
    @TableField("create_time")
    private LocalDateTime createTime;
}
