package com.seer.teach.teacher.common.req;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import jakarta.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "错题本分页请求实体类")
public class WrongQuestionPageListReq {

    @Schema(description = "科目Id")
    @NotNull(message = "subjectId不可为空")
    private Integer subjectId;

    @Schema(description = "页数")
    @NotNull(message = "页数不能为空")
    private Integer page = 1;

    @Schema(description = "页面容量")
    @NotNull(message = "页面容量不能为空")
    private Integer limits = 4;
}
