summaryrefslogtreecommitdiff
path: root/Models/Author.cs
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2022-09-15 20:55:44 -0500
committerHombreLaser <sebastian-440@live.com>2022-09-15 20:55:44 -0500
commit2c9c2cc3b414115bca9b6c63ca7b20d49a8a8ec1 (patch)
tree0344372eca04eab992ece36c4e07511f6f0214c6 /Models/Author.cs
parent3381c633fcd73e5159ae4a607835167ebdbb12ee (diff)
Agregar autor
Diffstat (limited to 'Models/Author.cs')
-rw-r--r--Models/Author.cs10
1 files changed, 10 insertions, 0 deletions
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<Book>? 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