changed role representation to enum

This commit is contained in:
Christoph
2020-03-06 20:58:57 +01:00
parent 17ae13c1e8
commit fb3a94cf04
4 changed files with 4 additions and 13 deletions
@@ -1,4 +0,0 @@
package mops.gruppen2.domain;
public class Admin extends Role {
}
@@ -1,4 +0,0 @@
package mops.gruppen2.domain;
public class Org extends Role {
}
+2 -2
View File
@@ -1,5 +1,5 @@
package mops.gruppen2.domain;
public class Role {
public enum Role {
ORGA, ADMIN
}