package com.panzhihua.common.model.dtos.community.bigscreen.work; import javax.validation.constraints.NotNull; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @Data @ApiModel("工作大屏一起议列表请求参数") public class ScreenDiscussListDTO { @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 = "发布类型 1 图文 2 投票") private Integer type; /** * 发布类型 1 图文 2 投票 */ public interface type { int tw = 1; int tp = 2; } }