package com.ycwl.basic.integration.scenic.dto.filter;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import java.util.List;

@Data
public class ScenicFilterRequest {
    @JsonProperty("filters")
    @NotEmpty(message = "筛选条件不能为空")
    @Valid
    private List<FilterCondition> filters;
    
    @JsonProperty("page")
    private Integer page = 1;
    
    @JsonProperty("pageSize")
    private Integer pageSize = 20;
}