package org.springblade.modules.exam.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.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 考试成绩实体类
|
* @author zhongrj
|
* @time 2021-07-16
|
*/
|
@Data
|
@TableName("exam_score")
|
public class ExamScore implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 考试成绩主键id
|
*/
|
@TableId(value = "id",type = IdType.AUTO)
|
private Long id;
|
|
|
/**
|
* 准考证号
|
*/
|
@TableField("candidate_no")
|
private String candidateNo;
|
|
/**
|
* 理论成绩
|
*/
|
@TableField("theory_grade")
|
private Integer theoryGrade;
|
|
/**
|
* 实操成绩
|
*/
|
@TableField("learn_grade")
|
private Integer learnGrade;
|
|
|
/**
|
* 总成绩
|
*/
|
@TableField("all_grade")
|
private Integer allGrade;
|
|
|
/**
|
* 考试类型 0:正式考试 1: 模拟考试 2:在线联系 3:调查问卷
|
*/
|
// @TableField("exam_type")
|
// private Integer examType;
|
|
|
/**
|
* 考试人员所属公司名称
|
*/
|
private String company;
|
|
/**
|
* 考试开始时间
|
*/
|
@TableField("exam_time")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date examTime;
|
|
/**
|
* 考试结束时间
|
*/
|
@TableField("exam_end_time")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date examEndTime;
|
|
/**
|
* 考试名称
|
*/
|
@TableField("exam_name")
|
private String examName;
|
|
|
/**
|
* 考试人员姓名
|
*/
|
@TableField("security_name")
|
private String securityName;
|
|
|
/**
|
* 试卷总分值
|
*/
|
@TableField("all_score")
|
private Integer allScore;
|
|
/**
|
* 是否合格 0:合格 1:不合格 2: 暂未录入实操成绩
|
*/
|
private Integer qualified;
|
|
|
@TableField("user_id")
|
private String userId;
|
|
|
}
|