first commit
This commit is contained in:
20
BookHive/DTO/Book/GetBookDetailsDto.cs
Normal file
20
BookHive/DTO/Book/GetBookDetailsDto.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using BookHive.DTO.Author;
|
||||
using BookHive.DTO.Review;
|
||||
|
||||
namespace BookHive.DTO.Book;
|
||||
|
||||
public class GetBookDetailsDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Title { get; set; }
|
||||
public string? Isbn { get; set; }
|
||||
public string? Summary { get; set; }
|
||||
public int PageCount { get; set; }
|
||||
public DateOnly PublishedDate { get; set; }
|
||||
public string? Genre { get; set; }
|
||||
|
||||
public int AuthorId { get; set; }
|
||||
public GetAuthorDto? Author { get; set; }
|
||||
|
||||
public List<GetReviewDto>? Reviews { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user