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:34
 **/
@Data
@TableName("employee_course_exam_records")
public class EmployeeCourseExamRecords extends GnhzBaseEntity {
    //id
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

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

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

    /**
     * 是否通过：1-不通过；2-通过
     */
    @TableField("pass")
    private Integer pass;

    //考试分数
    @TableField("exam_score")
    private String examScore;

    //证书ID
    @TableField("certificate_id")
    private String certificateId;

    //培训名称
    @TableField(exist = false)
    private String trainingPlanName;

    //图片
    @TableField(exist = false)
    private String trainingPlanPhoto;

    //证书名称
    @TableField(exist = false)
    private String certificateName;
}
