package cn.common.repository.entity;

import cn.common.common.entity.BaseEntity;
import cn.common.common.utils.spring.SnowflakeIdWorker;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.*;


/**
 * @author Singer create by singer email:singer-coder@qq.com
 * @packageName cn.singer.repository.entity
 * @Description: 业务字典实体
 * @date 2019-08-12
 */
@TableName("platform_dict")
@Data
public class PlatformDict extends BaseEntity implements Serializable  {

	private static final long serialVersionUID = -4608157803549531170L;

	/**
	 * 系统字典主键ID
 	 */
	private String platformDictId = SnowflakeIdWorker.uniqueMainId();

	/**
	 * 业务字典类型
 	 */
	private String  dictType;

	/**
	 * 键
 	 */
	private String  dictKey;

	/**
	 * 值
 	 */
	private String  dictValue;

	/**
	 * 排序字段
	 */
	private Integer sortIndex;

	/**
	 * 字典备注
	 */
	private String dictRemark;
}
