| | |
| | | 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; |
| | | import lombok.NonNull; |
| | | |
| | | import javax.validation.constraints.Min; |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | | /** |
| | | * @program: springcloud_k8s_panzhihuazhihuishequ |
| | |
| | | @ApiModel("分页志愿者") |
| | | public class PageVolunteerDTO { |
| | | |
| | | @ApiModelProperty(value = "分页-当前页数",example = "1",required = true) |
| | | @NotNull(groups = {PageGroup.class},message = "当前页数不能为空") |
| | | @Min(value = 1,groups = {PageGroup.class},message = "当前页数不能为空") |
| | | @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 = "每页记录数不能为空") |
| | | @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; |
| | | } |