package com.ruoyi.learn.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("试卷")
public class PaperVO {
    private Long id;
    private Long subjectId;
    private String paperName;
    private Long year;
    private String paperType;
    private String number;
    private Long score;
    private String directKey;

    @ApiModelProperty("试题")
    List<QuestionSeq> questions;

    @Data
    @ApiModel("试题")
    public static class QuestionSeq extends LearnQuestions {
        @ApiModelProperty("序号")
        Integer seq;
    }
}
