Files
TP-Fluent/BookHive/DTO/Book/GetBookDetailsDto.cs
2026-03-17 11:12:34 +01:00

23 lines
676 B
C#

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 decimal? AverageRating { get; set; }
public int? ReviewCount { get; set; }
public int AuthorId { get; set; }
public string? AuthorNationality { get; set; }
public GetAuthorDto? Author { get; set; }
public List<GetReviewDto>? Reviews { get; set; }
}