xin
2025-05-30 d93356927d8a0a5a91963c28d461d9107562d759
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.oying.modules.pc.search.domain.dto;
 
import lombok.Data;
 
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
 
@Data
public class NearbyStoreQueryCriteria {
 
    @NotNull
    private Double longitude; // 中心点经度
 
    @NotNull
    private Double latitude;  // 中心点纬度
 
    @Min(100)
    @Max(5000)
    private Integer radius = 1000; // 搜索半径(米)
 
    private Boolean onlyOpenNow = true; // 是否只查当前营业的
 
    @Min(1)
    @Max(50)
    private Integer limit = 20; // 返回数量限制
 
    // 分页参数
    private Integer page = 1;
 
    private Integer size = 10;
 
    private String blurry;
 
    private Long status;
 
    private Long platformCategoryId;
}