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;
|
}
|
}
|