package com.panzhihua.common.model.dtos.community; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** * @program: springcloud_k8s_panzhihuazhihuishequ * @description: 分页查询一起议 * @author: huang.hongfa weixin hhf9596 qq 959656820 * @create: 2021-01-23 11:11 **/ @Data @ApiModel("分页查询一起议") public class PageComActDiscussDTO { @ApiModelProperty(value = "分页-当前页数", example = "1") private Long pageNum = 1L; @ApiModelProperty(value = "分页-每页记录数", example = "10") private Long pageSize = 10L; @ApiModelProperty("主题") private String subject; @ApiModelProperty(value = "社区id", hidden = true) private Long communityId; @ApiModelProperty("查询开始时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date begin; @ApiModelProperty("查询结束时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date end; @ApiModelProperty(value = "登录用户", hidden = true) private Long userId; @ApiModelProperty(value = "登录用户-用于判断是否点赞和投票", hidden = true) private Long loginUserId; @ApiModelProperty("小程序使用 1 表示查询我的议题") private Integer isMy; @ApiModelProperty("状态(1.未开始 2.进行中 3.待公布 4.已公布 5.已发布)") private Integer status; @ApiModelProperty("关键词") private String keyWord; @ApiModelProperty(value = "类型: 1.议事 2.投票,小程序必须传入类型", allowableValues = "1,2") private Integer type; @ApiModelProperty(value = "展示状态,小程序获取不同状态的投票列表 1.进行中 2.已结束", allowableValues = "1,2") private Integer displayStatus; @ApiModelProperty("议事内容类型(1.社区议事 2.院落议事 3.党群议事 4.居民议事 5.其他)") private Integer contentType; @ApiModelProperty(value = "是否党员", hidden = true) private Integer isPbMember; @ApiModelProperty(value = "是否志愿者", hidden = true) private Integer isVolunteer; }