com.weavechain.core.permissions.Permission Maven / Gradle / Ivy
package com.weavechain.core.permissions;
import lombok.AllArgsConstructor;
import lombok.Getter;
import java.util.List;
@Getter
@AllArgsConstructor
public class Permission {
public static final List ALL = null;
private final PermissionType type;
private final String scope;
private final List tables;
public static Permission of(PermissionType type, String scope, List tables) {
return new Permission(type, scope, tables);
}
}