summaryrefslogtreecommitdiff
path: root/Models/Book.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Models/Book.cs')
-rw-r--r--Models/Book.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Models/Book.cs b/Models/Book.cs
new file mode 100644
index 0000000..998a3ee
--- /dev/null
+++ b/Models/Book.cs
@@ -0,0 +1,10 @@
+namespace LibraryAPI.Models {
+ public class Book {
+ public long Id { get; set; }
+ public DateTime PublicationDate { get; set; }
+
+ public string[] Genres { get; set; }
+ public int Edition { get; set; }
+ public string ISBN { get; set; }
+ }
+} \ No newline at end of file