McPringle/sportchef

View on GitHub
src/main/java/ch/sportchef/business/authentication/entity/Role.java

Summary

Maintainability
A
0 mins
Test Coverage
package ch.sportchef.business.authentication.entity;

public enum Role {

    ADMIN(1000),
    USER(100);

    private int level;

    Role(final int level) {
        this.level = level;
    }

    public int getLevel() {
        return level;
    }
}