package com.ycl.jxkg.domain.entity;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.Version;
|
import com.ycl.jxkg.domain.base.AbsEntity;
|
import com.ycl.jxkg.enums.general.ExamStatusEnum;
|
import lombok.Data;
|
|
/**
|
* 考试
|
*
|
* @author xp
|
* @since 2024-06-11
|
*/
|
@Data
|
@TableName("t_exam")
|
public class Exam extends AbsEntity {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableField("exam_name")
|
/** 考试名称 */
|
private String examName;
|
|
@TableField("exam_paper_id")
|
/** 试卷ID */
|
private Integer examPaperId;
|
|
@TableField("classes_id")
|
/** 班级ID */
|
private Integer classesId;
|
|
@TableField("exam_paper_type")
|
/** 试卷类型 */
|
private Integer examPaperType;
|
|
@TableField("exam_place")
|
/** 考试地点 */
|
private String examPlace;
|
|
@TableField("status")
|
/** 考试状态 */
|
private ExamStatusEnum status;
|
|
@TableField("start_time")
|
/** 开始时间 */
|
private Date startTime;
|
|
@TableField("end_time")
|
/** 结束时间 */
|
private Date endTime;
|
|
@TableField("teacher_id")
|
/** 创建老师 */
|
private Integer teacherId;
|
|
@TableField(value = "create_time", fill = FieldFill.INSERT)
|
private Date createTime;
|
|
@Version
|
private Integer updateVersion;
|
}
|