From 3381c633fcd73e5159ae4a607835167ebdbb12ee Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Thu, 15 Sep 2022 18:58:24 -0500 Subject: Cambiar PublicationDate por PublicationYear --- Models/Book.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Models/Book.cs') 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 -- cgit v1.2.3