package org.springblade.modules.simulateexam.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
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
|
* @since 2020-02-23
|
*/
|
@Data
|
@TableName("simulate_exam_record")
|
public class SimulateExamRecord implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id",type = IdType.ASSIGN_ID)
|
private Long id;
|
|
|
/**
|
* 答题开始时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date startTime;
|
|
/**
|
* 答题结束时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date endTime;
|
|
|
/**
|
* 考试得分
|
*/
|
private Integer score;
|
|
|
/**
|
* 状态 1:考试中 2: 考试完成 3:已废弃
|
*/
|
private Integer status;
|
|
/**
|
* 身份证号码
|
*/
|
private String idCardNo;
|
|
/**
|
* 题目ids (60道题目id集)
|
*/
|
private String subjectIds;
|
|
/**
|
* 答题时长,以毫秒为单位
|
*/
|
private Long answerTime;
|
|
//手机号
|
private String phone;
|
}
|