package com.ho.user.vo.req;

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

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @ClassName: RolePermissionOperationReqVO
 * TODO:类文件简单描述
 * @Author:
 * @CreateDate: 2019/9/20 15:47
 * @UpdateUser:
 * @UpdateDate: 2019/9/20 15:47
 * @Version: 0.0.1
 */
@Data
public class RolePermissionOperationReqVO {

    @ApiModelProperty(value = "角色id")
    @NotNull(message = "角色id不能为空")
    private Integer roleId;

    @ApiModelProperty(value = "菜单权限集合")
    @NotEmpty(message = "菜单权限集合不能为空")
    private List<Integer> permissionIds;
}
