package com.seer.teach.mall.request;

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: 嘉多宝宝
 * @Data: 2025-06-21 9:48
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "浏览足迹分页查询请求参数")
public class BrowsingHistoryPageReq {
    @Schema(description = "页数")
    @NotNull(message = "页数不能为空")
    private Integer page = 1;

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

    @Schema(description = "商品名称")
    private String name;
}
