package com.ycl.entity.dict;
|
|
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;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author lyq
|
* @since 2022-09-15
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@TableName("ums_data_dictionary")
|
public class DataDictionary implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 字典值
|
*/
|
@TableField("name")
|
private String name;
|
|
/**
|
* 编码
|
*/
|
@TableField("code")
|
private String code;
|
|
/**
|
* 父级id
|
*/
|
@TableField("parent_id")
|
private String parentId;
|
|
/**
|
* 层级
|
*/
|
@TableField("level")
|
private Short level;
|
|
/**
|
* 字典类型
|
*/
|
@TableField("type_name")
|
private String typeName;
|
|
/**
|
* 字典类型代码
|
*/
|
@TableField("type_code")
|
private String typeCode;
|
|
/**
|
* 备注
|
*/
|
@TableField("remark")
|
private String remark;
|
|
}
|