fuliqi
2024-10-17 8546b3d285af4235a0ef615a0c6e89486ae2c806
src/main/java/com/ycl/jxkg/domain/vo/ExamVO.java
@@ -1,5 +1,6 @@
package com.ycl.jxkg.domain.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ycl.jxkg.domain.base.AbsVo;
import com.ycl.jxkg.domain.entity.Exam;
import java.util.List;
@@ -24,12 +25,14 @@
    /** 试卷ID */
    private Integer examPaperId;
    private String examPaperName;
    /** 班级ID */
    private Integer classesId;
    private String className;
    /** 试卷类型 */
    private String examPaperType;
    private Integer examPaperType;
    /** 考试地点 */
    private String examPlace;
@@ -38,17 +41,24 @@
    private String status;
    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /** 创建老师 */
    private Integer teacherId;
    /** 是否是继续考试 */
    private Boolean isContinue;
    /** 提交状态 */
    private String submitStatus;
    public static ExamVO getVoByEntity(@NonNull Exam entity, ExamVO vo) {
        if(vo == null) {
            vo = new ExamVO();