Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 040ce7a

Browse files
create enums: Availability, Status and Genre (for Book entity)
1 parent aa7e01a commit 040ce7a

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.csaba79coder.apifirstdevelopment.value;
2+
3+
public enum Availability {
4+
AVAILABLE, ARCHIVE, DELETED
5+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.csaba79coder.apifirstdevelopment.value;
2+
3+
public enum Genre {
4+
DETECTIVE_FICTION, NOVEL, MYSTERY, THRILLER, HORROR, HISTORICAL, ROMANCE, WESTERN, BILDUNGSROMAN,
5+
SCIENCE_FICTION, FICTION, FANTASY, MAGICAL_REALISM, REALIST_LITERATURE, OTHER
6+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.csaba79coder.apifirstdevelopment.value;
2+
3+
public enum Status {
4+
AVAILABLE, PENDING, SOLD
5+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /