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;
|
|
/**
|
* @program: springcloud_k8s_panzhihuazhihuishequ
|
* @description: 意见反馈
|
* @author: huang.hongfa weixin hhf9596 qq 959656820
|
* @create: 2021-01-05 10:56
|
**/
|
@Data
|
@ApiModel(value = "意见反馈")
|
public class PageFeedBackDTO {
|
@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 = "分页-每页记录数不能为空")
|
private Long pageSize;
|
|
@ApiModelProperty(value = "用户昵称", example = "")
|
private String nickName;
|
|
@ApiModelProperty(value = "用户名称", example = "")
|
private String name;
|
@ApiModelProperty(value = "手机号", example = "")
|
private String phone;
|
|
private String areaCode;
|
|
@ApiModelProperty("1投诉建议2问题留言")
|
private Integer type;
|
private Long propertyId;
|
}
|