mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
39
40
41
42
43
44
package com.panzhihua.common.model.dtos.community.bigscreen.event;
 
import java.util.List;
 
import javax.validation.constraints.NotNull;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
@Data
@ApiModel("大屏事件列表请求参数")
public class ScreenDrawEventListDTO {
 
    @ApiModelProperty(value = "最大展示事件数量", example = "100")
    private Integer count = 100;
 
    @ApiModelProperty(value = "社区id", example = "2", required = true)
    @NotNull(message = "社区id不能为空")
    private Long communityId;
 
    @ApiModelProperty(value = "多边形类型(1.圆形 2.多边形)")
    private Integer type;
 
    @ApiModelProperty(value = "圆心坐标经度")
    private Double centerLng;
 
    @ApiModelProperty(value = "圆心坐标纬度")
    private Double centerLat;
 
    @ApiModelProperty(value = "圆心半径")
    private String radius;
 
    @ApiModelProperty(value = "多边形经纬度列表")
    private List<ScreenDrawLngLatDTO> lngLatList;
 
    /**
     * 多边形类型(1.圆形 2.多边形)
     */
    public interface type {
        int yx = 1;
        int dbx = 2;
    }
}