package com.ruoyi.entity;

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 com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.GnhzBaseEntity;
import lombok.Data;

import java.sql.Date;

/**
 * @program: RuoYi-Vue-master
 * @description: 培训计划分类表
 * @author: niujie
 * @create: 2023-08-03 20:18
 */
@Data
@TableName("training_plan_classification")
public class TrainingPlanClassification extends GnhzBaseEntity {
    //id
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    //类目名称
    @TableField("categories_name")
    private String categoriesName;

    //父类名称
    @TableField("parant_id")
    private String parantId;

    //排序
    @TableField("classification_sort")
    private Integer classificationSort;

    /**
     * 创建人昵称：列表的子需要用
     */
    @TableField(exist = false)
    private String userName;
}
