From 2c9c2cc3b414115bca9b6c63ca7b20d49a8a8ec1 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Thu, 15 Sep 2022 20:55:44 -0500 Subject: Agregar autor --- Models/Author.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Models/Author.cs (limited to 'Models/Author.cs') diff --git a/Models/Author.cs b/Models/Author.cs new file mode 100644 index 0000000..9f04a58 --- /dev/null +++ b/Models/Author.cs @@ -0,0 +1,10 @@ +namespace LibraryAPI.Models { + public class Author { + public long Id { get; set; } + public List? Books { get; set; } + public string? Country { get; set; } + public string? Name { get; set; } + public int YearOfBirth { get; set; } + public string[]? languages { get; set; } + } +} \ No newline at end of file -- cgit v1.2.3