package nju.seec.helper.vo.quiz; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.SuperBuilder; import java.util.Map; @Data @SuperBuilder @AllArgsConstructor @NoArgsConstructor public class ChoiceQuestionVO extends QuestionVO{ @JsonProperty(value = "options") private Map options; @JsonProperty(value = "answer") private String answer; @JsonProperty(value = "analysis") private String analysis; @JsonProperty(value = "studentAnswer") private String studentAnswer; @JsonProperty(value = "pass") private Boolean pass; } //kind: "CHOICE"; // options: { // [key: string]: string; // }; // answer: string; // 答案 [与 options 的 key 一致] // analysis?: string; // 解析