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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@ApiModel("工时后台 - 代理人信息 Request VO ")
@Data
public class UserDelegationPersonVO {

    @ApiModelProperty(value = "用户编号", required = true)
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "email")
    private String email;

    @ApiModelProperty(value = "GPN")
    @NotBlank(message = "GPN不能为空")
    private String gpn;
}
