Last change
on this file since a51a591 was a51a591, checked in by colovik <j.colovik@…>, 14 months ago |
final
|
-
Property mode
set to
100644
|
File size:
333 bytes
|
Line | |
---|
1 | package com.example.model.Enumerations;
|
---|
2 |
|
---|
3 | public enum Role{
|
---|
4 |
|
---|
5 | ROLE_USER("user"),
|
---|
6 | ROLE_BAND("band"),
|
---|
7 | ROLE_CLIENT("client"),
|
---|
8 | ROLE_ADMIN("admin"),
|
---|
9 | ROLE_PHOTOGRAPHER("photographer"),
|
---|
10 | ROLE_WAITER("waiter"),
|
---|
11 | ROLE_CATERING("catering");
|
---|
12 |
|
---|
13 | private String name;
|
---|
14 |
|
---|
15 | Role(String s) {
|
---|
16 | this.name=s;
|
---|
17 | }
|
---|
18 | }
|
---|
19 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.