| package com.panzhihua.common.model.dtos.community; | 
|   | 
| import javax.validation.constraints.Min; | 
| import javax.validation.constraints.NotNull; | 
|   | 
| import com.panzhihua.common.validated.PageGroup; | 
|   | 
| 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: 2020-12-31 13:52 | 
|  **/ | 
| @Data | 
| @ApiModel("分页志愿者") | 
| public class PageVolunteerDTO { | 
|   | 
|     @ApiModelProperty(value = "分页-当前页数", example = "1", required = true) | 
|     @NotNull(groups = {PageGroup.class}, message = "当前页数不能为空") | 
|     @Min(value = 1, groups = {PageGroup.class}, message = "当前页数不能为空") | 
|     private Long pageNum; | 
|   | 
|     @ApiModelProperty(value = "分页-每页记录数", example = "10", required = true) | 
|     @NotNull(groups = {PageGroup.class}, message = "每页记录数不能为空") | 
|     @Min(value = 1, groups = {PageGroup.class}, message = "每页记录数不能为空") | 
|     private Long pageSize; | 
|   | 
|     @ApiModelProperty(value = "社区id") | 
|     private Long communityId; | 
|   | 
|     @ApiModelProperty("物业公司Id") | 
|     private Long propertyId; | 
| } |