summaryrefslogtreecommitdiff
path: root/Models/Book.cs
blob: 29faa972c531ad2eb33f22505818de22366d1ccd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
namespace LibraryAPI.Models {
    public class Book {
        public long Id { get; set; }
        public long AuthorId { get; set; }
        public Author? Author { 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; }
    }
}