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")
public class DataDict {
    /**
     * ID, 主键,自增
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

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

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

    /**
     * 字典key值
     */
    private String datakey;

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

    /**
     * 是否有效(1:有效，0:无效)
     */
    private Byte isvalid;

    /**
     * 描述
     */
    private String description;
   
}