package com.cool.store.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import javax.persistence.*;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "xfsg_employee_training")
public class EmployeeTrainingDO {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * shop_info.id
     */
    @Column(name = "shop_id")
    private Long shopId;

    /**
     * 区域ID
     */
    @Column(name = "region_id")
    private Long regionId;

    /**
     * xfsg_temp_user_detail.id
     */
    @Column(name = "xfsg_user_detail_id")
    private Long xfsgUserDetailId;

    /**
     * 是否分配 0-待分配  1-已分配
     */
    @Column(name = "assign_flag")
    private Boolean assignFlag;

    /**
     * 实训开始时间
     */
    @Column(name = "training_start_time")
    private Date trainingStartTime;

    /**
     * 实训结束时间
     */
    @Column(name = "training_end_time")
    private Date trainingEndTime;

    /**
     * 实训门店ID
     */
    @Column(name = "training_store_id")
    private String trainingStoreId;

    /**
     * 带教老师ID
     */
    @Column(name = "training_teacher_user_id")
    private String trainingTeacherUserId;

    /**
     * 实操考核人员ID
     */
    @Column(name = "practical_assessment_user_id")
    private String practicalAssessmentUserId;

    /**
     * 预计考核时间
     */
    @Column(name = "estimated_assessment_time")
    private Date estimatedAssessmentTime;

    /**
     * 实际考核时间
     */
    @Column(name = "actual_assessment_time")
    private Date actualAssessmentTime;

    /**
     * 考核项数
     */
    @Column(name = "assessment_num")
    private Integer assessmentNum;

    /**
     * 考核总项数
     */
    @Column(name = "assessment_total_num")
    private Integer assessmentTotalNum;

    /**
     * 理论考试状态 0-未开始  1-合格  2-不合格
     */
    @Column(name = "theoretical_exam_status")
    private Integer theoreticalExamStatus;

    /**
     * 理论考试分值
     */
    @Column(name = "theoretical_exam_score")
    private Float theoreticalExamScore;

    /**
     * 实操考试状态 0-未开始  1-合格  2-不合格
     */
    @Column(name = "practical_exam_status")
    private Integer practicalExamStatus;

    /**
     * 实操考试分值
     */
    @Column(name = "practical_exam_score")
    private Integer practicalExamScore;

    /**
     * 考核状态 0-培训中 1-带考核 2-考核通过 3-考核不通过
     */
    @Column(name = "assessment_status")
    private Integer assessmentStatus;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 是否删除：0.否 1.是
     */
    private Boolean deleted;
}