package com.bcxin.api.interfaces.rbacs.requests;

import com.bcxin.api.interfaces.RequestAbstract;
import lombok.Getter;

import java.util.Collection;

@Getter
public class UpdateRoleRequest extends RequestAbstract {
    private final String name;
    private final Collection<ResourceItemRequest> resources;

    public UpdateRoleRequest(String name,
                             Collection<ResourceItemRequest> resources) {
        this.name = name;
        this.resources = resources;
    }
}
