|
|
|
@ -6,24 +6,24 @@
|
|
|
|
|
***********************************************************/
|
|
|
|
|
package lsgwr.exam.vo;
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;// 导入了Jackson库中的JsonProperty注解,用于指定JSON属性名
|
|
|
|
|
import lombok.Data;// 导入了Lombok库中的@Data注解,用于自动生成getter和setter方法
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
public class ExamCardVo {
|
|
|
|
|
@JsonProperty("id")
|
|
|
|
|
private String examId;
|
|
|
|
|
private String examId;// 考试的唯一标识符
|
|
|
|
|
@JsonProperty("title")
|
|
|
|
|
private String examName;
|
|
|
|
|
private String examName;// 考试的名称
|
|
|
|
|
@JsonProperty("avatar")
|
|
|
|
|
private String examAvatar;
|
|
|
|
|
private String examAvatar; // 考试的头像或图标
|
|
|
|
|
@JsonProperty("content")
|
|
|
|
|
private String examDescription;
|
|
|
|
|
private String examDescription; // 考试的描述或内容
|
|
|
|
|
@JsonProperty("score")
|
|
|
|
|
private Integer examScore;
|
|
|
|
|
private Integer examScore;// 考试的分数
|
|
|
|
|
/**
|
|
|
|
|
* 考试限制的时间,单位为分钟
|
|
|
|
|
*/
|
|
|
|
|
@JsonProperty("elapse")
|
|
|
|
|
private Integer examTimeLimit;
|
|
|
|
|
private Integer examTimeLimit;// 考试的时间限制,以分钟为单位
|
|
|
|
|
}
|
|
|
|
|