From d01be9f1ec9a393818ea64deca3cbe7fa9372e08 Mon Sep 17 00:00:00 2001 From: xyh <18782104331@139.com> Date: 星期三, 23 六月 2021 18:21:21 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/test' into test --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/bigscreen/event/ScreenEventListDTO.java | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 60 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/bigscreen/event/ScreenEventListDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/bigscreen/event/ScreenEventListDTO.java new file mode 100644 index 0000000..b46b013 --- /dev/null +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/bigscreen/event/ScreenEventListDTO.java @@ -0,0 +1,60 @@ +package com.panzhihua.common.model.dtos.community.bigscreen.event; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import javax.validation.constraints.NotNull; +import java.util.List; + +@Data +@ApiModel("大屏事件列表请求参数") +public class ScreenEventListDTO { + + @ApiModelProperty(value = "分页每页数量",example = "10") + private Long pageSize = 10L; + + @ApiModelProperty(value = "分页当前记录数",example = "1") + private Long pageNum = 1L; + + @ApiModelProperty(value = "社区id", example = "2", required = true) + @NotNull(message = "社区id不能为空") + private Long communityId; + + @ApiModelProperty(value="查询开始时间") + private String startTime; + + @ApiModelProperty(value="查询结束时间") + private String endTime; + + @ApiModelProperty(value="网格id") + private List<Long> gridIds; + + @ApiModelProperty(value="事件类型(1治安隐患、2公共服务、3矛盾纠纷、4不稳定因素、5突发事件、6特殊人群信息上报 8宣传教育)") + private List<Integer> eventTypes; + + @ApiModelProperty(value="事件分类(1、办件事件2、宣传事件3、阅读事件)",hidden = true) + private Integer eventCategory = 1; + + @ApiModelProperty(value="事件处理状态(1待处理、2待验证、3已上报、4已解决、5草稿箱、6已撤销、7已失效 8 已发布)") + private Integer eventDealStatus; + + @ApiModelProperty("是否紧急") + private Boolean urgent; + + @ApiModelProperty("是否重大") + private Boolean major; + + /** + * 事件类型(1治安隐患、2公共服务、3矛盾纠纷、4不稳定因素、5突发事件、6特殊人群信息上报 8宣传教育) + */ + public interface eventType{ + int za = 1; + int gg = 2; + int md = 3; + int bwd = 4; + int tf = 5; + int ts = 6; + int xc = 8; + } +} -- Gitblit v1.7.1