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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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 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;
    }
}