Skip to content

Commit ef58115

Browse files
authored
Merge pull request #9 from ithsjava25/8-create-enum-for-employee-category-and-genre
Add enums for role (employee), category and genre.
2 parents 1120db3 + 55e6a64 commit ef58115

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package demo.codeexample.enums;
2+
3+
public enum Category {
4+
FILM,
5+
SERIES;
6+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package demo.codeexample.enums;
2+
3+
public enum Genre {
4+
ACTION,
5+
COMEDY,
6+
CRIME,
7+
DRAMA,
8+
FANTASY,
9+
HORROR,
10+
ROMANCE,
11+
SCI_FI
12+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package demo.codeexample.enums;
2+
3+
public enum Role {
4+
PRODUCER,
5+
DIRECTOR,
6+
RECRUITER,
7+
EDITOR
8+
}

0 commit comments

Comments
 (0)