package top.tqx.demo_1.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class ExamPaperResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    private String paperId;

    private String title;

    private String description;

    private BigDecimal totalScore;

    private Integer duration;

    private Integer questionCount;

    private String status;

    private String permissionScope;

    private Long deptId;

    private List<Long> deptIds;

    private List<Long> userIds;

    private List<Long> excludeUserIds;

    private List<ExamPaperQuestion> questions;

    private Long createdBy;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

    private LocalDateTime publishTime;

    private LocalDateTime deadline;

    @Data
    public static class ExamPaperQuestion implements Serializable {
        private static final long serialVersionUID = 1L;
        private String questionId;
        private String questionType;
        private Integer difficulty;
        private BigDecimal score;
        private String content;
        private String answer;
        private String analysis;
    }
}