| | |
| | | package com.panzhihua.common.model.dtos.user; |
| | | |
| | | 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 javax.validation.constraints.Min; |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | | /** |
| | | * @program: springcloud_k8s_panzhihuazhihuishequ |
| | |
| | | @Data |
| | | @ApiModel(value = "意见反馈") |
| | | public class PageFeedBackDTO { |
| | | @ApiModelProperty(value = "分页-当前页数",example = "1") |
| | | @NotNull(groups = {PageGroup.class},message = "分页-当前页数不能为空") |
| | | @Min(groups = {PageGroup.class},value = 1,message = "分页-当前页数不能为空") |
| | | @ApiModelProperty(value = "分页-当前页数", example = "1") |
| | | @NotNull(groups = {PageGroup.class}, message = "分页-当前页数不能为空") |
| | | @Min(groups = {PageGroup.class}, value = 1, message = "分页-当前页数不能为空") |
| | | private Long pageNum; |
| | | |
| | | @ApiModelProperty(value = "分页-每页记录数",example = "10") |
| | | @NotNull(groups = {PageGroup.class},message = "分页-每页记录数不能为空") |
| | | @Min(groups = {PageGroup.class},value = 1,message = "分页-每页记录数不能为空") |
| | | @ApiModelProperty(value = "分页-每页记录数", example = "10") |
| | | @NotNull(groups = {PageGroup.class}, message = "分页-每页记录数不能为空") |
| | | @Min(groups = {PageGroup.class}, value = 1, message = "分页-每页记录数不能为空") |
| | | private Long pageSize; |
| | | |
| | | @ApiModelProperty(value = "用户昵称",example = "") |
| | | @ApiModelProperty(value = "用户昵称", example = "") |
| | | private String nickName; |
| | | |
| | | @ApiModelProperty(value = "用户名称",example = "") |
| | | @ApiModelProperty(value = "用户名称", example = "") |
| | | private String name; |
| | | @ApiModelProperty(value = "手机号", example = "") |
| | | private String phone; |
| | | |
| | | private String areaCode; |
| | | } |