package com.panzhihua.common.model.dtos.community.integral; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @Data @ApiModel("查询社区积分排行榜请求参数") public class ComActIntegralCommunityRankDTO { @ApiModelProperty(value = "社区id") private Long communityId; @ApiModelProperty(value = "用户id", hidden = true) private Long userId; @ApiModelProperty(value = "交易身份类型(1.居民 2.党员 3.志愿者)", hidden = true) private Integer identityType; @ApiModelProperty("身份类型(1.全部 2.居民 3.志愿者 4.党员)") private Integer type = 1; @ApiModelProperty("变动类型(1.增加 2.减少)") private Integer changeType; @ApiModelProperty(value = "分页-当前页数", example = "1") private Long pageNum = 1L; @ApiModelProperty(value = "分页-每页记录数", example = "10") private Long pageSize = 10L; /** * 身份类型(1.全部 2.居民 3.志愿者 4.党员) */ public interface type { int all = 1; int resident = 2; int party = 3; int volunteer = 4; } /** * 交易身份类型(1.居民 2.党员 3.志愿者) */ public interface identityType { int resident = 1; int party = 2; int volunteer = 3; } }