package cn.ey.biz.module.system.controller.admin.delegation.vo;

import cn.ey.biz.common.pojo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel("管理后台 - 代理人代理单元分页列表 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class UserDelegationUnitPageReqVO extends PageParam {

    @ApiModelProperty(value = "应用ID",required = true)
    @NotBlank(message = "应用ID不能为空")
    private String appId;

    @ApiModelProperty(value = "用户ID",notes = "精确匹配")
    private Long userId;

    @ApiModelProperty(value = "用户姓名", example = "Peter(131).Du",notes = "模糊匹配")
    private String userName;

    @ApiModelProperty(value = "代理人GPN", example = "XE030018616",notes = "模糊匹配")
    private String gpn;

    @ApiModelProperty(value = "代理人email", example = "xxx@ey.com",notes = "模糊匹配")
    private String email;

}
