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 lngLatList; /** * 多边形类型(1.圆形 2.多边形) */ public interface type { int yx = 1; int dbx = 2; } }