package com.mindskip.xzs.viewmodel.student.exam;
|
|
|
import javax.validation.Valid;
|
import javax.validation.constraints.NotNull;
|
import java.util.List;
|
|
|
public class ExamPaperSubmitVM {
|
|
@NotNull
|
private Integer id;
|
|
@NotNull
|
private Integer doTime;
|
|
private String score;
|
|
@NotNull
|
@Valid
|
private List<ExamPaperSubmitItemVM> answerItems;
|
|
//模板id
|
private Integer templatesId;
|
|
/**
|
* 是否时间结束自动提交
|
*/
|
private boolean isAutoCommit;
|
|
public boolean isAutoCommit() {
|
return isAutoCommit;
|
}
|
|
public void setAutoCommit(boolean autoCommit) {
|
isAutoCommit = autoCommit;
|
}
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getDoTime() {
|
return doTime;
|
}
|
|
public void setDoTime(Integer doTime) {
|
this.doTime = doTime;
|
}
|
|
public String getScore() {
|
return score;
|
}
|
|
public void setScore(String score) {
|
this.score = score;
|
}
|
|
public List<ExamPaperSubmitItemVM> getAnswerItems() {
|
return answerItems;
|
}
|
|
public void setAnswerItems(List<ExamPaperSubmitItemVM> answerItems) {
|
this.answerItems = answerItems;
|
}
|
|
public Integer getTemplatesId() {
|
return templatesId;
|
}
|
|
public void setTemplatesId(Integer templatesId) {
|
this.templatesId = templatesId;
|
}
|
}
|