package com.xdap.self_development.controller.request;

import lombok.Data;

import javax.validation.constraints.Min;

@Data
public class PreAndRolePageRequest {
    @Min(message = "页码最小为1", value = 1)
    private Integer pageNum;
    @Min(message = "页大小最小为1", value = 1)
    private Integer pageSize;

    private String username = "";
    private String department = "";
    private String roleName = "";
}
