package com.bcxin.api.interfaces.rbacs.custom.request;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

@ApiModel("角色id-职员id列表-对象")
@Data
public class RbacCustomEmployeeIdRoleIdListRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "职员id")
    @NotBlank(message = "职员id不能为空")
    private String employeeId;

    @ApiModelProperty(value = "角色id列表")
    @NotEmpty(message = "角色id不能为空")
    private List<Long> roleIdList;

}
