|
|
|
@ -6,6 +6,7 @@ import io.swagger.annotations.ApiModel;
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -23,10 +24,12 @@ public class QuDetailDTO extends QuDTO {
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "备选项列表", required=true)
|
|
|
|
|
@ApiModelProperty(value = "备选项列表")
|
|
|
|
|
@NotNull(message = "备选项列表不能为空")
|
|
|
|
|
private List<QuAnswerDTO> answerList;
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "题库列表", required=true)
|
|
|
|
|
@ApiModelProperty(value = "题库列表")
|
|
|
|
|
@NotNull(message = "题库列表不能为空")
|
|
|
|
|
private List<String> repoIds;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|