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.GnhzBaseEntity;
import lombok.Data;

/**
 * @program: RuoYi-Vue-master
 * @description: 课程学习记录表
 * @author: niujie
 * @create: 2023-08-21 19:20
 **/
@Data
@TableName("lesson_learning_record")
public class LessonLearningRecord extends GnhzBaseEntity {
    //id
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    //课程表ID
    @TableField("course_id")
    private String courseId;

    //员工ID
    @TableField("staff_id")
    private String staffId;

    //培训计划ID
    @TableField("training_plan_id")
    private String trainingPlanId;

    //状态（1、学习中，2、已完成）
    @TableField("learning_state")
    private String learningState;
}
