diff options
Diffstat (limited to 'Models')
-rw-r--r-- | Models/Book.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Models/Book.cs b/Models/Book.cs index d648c12..bcf9ef7 100644 --- a/Models/Book.cs +++ b/Models/Book.cs @@ -6,10 +6,10 @@ namespace LibraryAPI.Models { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public long Id { get; set; } - public DateTime PublicationDate { get; set; } - + public int PublicationYear { get; set; } public string[] Genres { get; set; } public int Edition { get; set; } public string ISBN { get; set; } + public string Title { get; set; } } }
\ No newline at end of file |