mirror of
https://github.com/plexusorg/Plex.git
synced 2024-11-15 08:13:32 +00:00
24 lines
420 B
Java
24 lines
420 B
Java
|
package me.totalfreedom.plex.rank;
|
||
|
|
||
|
import com.google.common.collect.Lists;
|
||
|
import lombok.Getter;
|
||
|
import me.totalfreedom.plex.rank.enums.Rank;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
@Getter
|
||
|
public class DefaultRankObj
|
||
|
{
|
||
|
|
||
|
private String name;
|
||
|
private List<String> permissions;
|
||
|
|
||
|
public DefaultRankObj(Rank rank)
|
||
|
{
|
||
|
this.name = rank.name().toUpperCase();
|
||
|
this.permissions = Lists.newArrayList();
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|