package com.nbclass.activity.model;

import java.util.Date;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Data
@Table(name = "data_dict_item")
public class DataDictItem {
    /**
     * ID, 主键,自增
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * 修改时间
     */
    private Date updatetime;

    /**
     * 字典id值(data_dict表id)
     */
    private Long dictid;

    /**
     * 字典value值(组合主键)
     */
    private String value;

    /**
     * 字典名字
     */
    private String name;

    /**
     * 排序
     */
    private Integer sort;

    
}