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

import lombok.Getter;

import java.io.Serializable;

@Getter
public class RoleGetResponse implements Serializable {
    private final String id;
    private final String name;

    public RoleGetResponse(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public static RoleGetResponse create(String id, String name) {
        return new RoleGetResponse(id, name);
    }
}
