summaryrefslogtreecommitdiff
path: root/Models
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2022-09-15 18:58:24 -0500
committerHombreLaser <sebastian-440@live.com>2022-09-15 18:58:24 -0500
commit3381c633fcd73e5159ae4a607835167ebdbb12ee (patch)
tree25acc262b608563121e45c56e271b49c88f9315a /Models
parent8901a18b0e26cf9ad0aa929e2f656a80cd2f4b09 (diff)
Cambiar PublicationDate por PublicationYear
Diffstat (limited to 'Models')
-rw-r--r--Models/Book.cs4
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