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;

/**
 * @Author: Captain
 * @Description:
 * @Date: 2025-06-13 14:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "书籍TvList请求实体类")
public class BookListTvReq {
    @Schema(description = "页数")
    @NotNull(message = "页数不能为空")
    private Integer page = 1;

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