end of tp2
This commit is contained in:
@@ -12,8 +12,11 @@ public class GetBookDetailsDto
|
||||
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; }
|
||||
|
||||
@@ -8,12 +8,11 @@ public class GetLoanDto
|
||||
public int Id { get; set; }
|
||||
|
||||
public int BookId { get; set; }
|
||||
public string? BookTitle { get; set; }
|
||||
public int MemberId { get; set; }
|
||||
public string? MemberFullName { get; set; }
|
||||
|
||||
public DateOnly LoanDate { get; set; }
|
||||
public DateOnly DueDate { get; set; }
|
||||
public DateOnly? ReturnDate { get; set; }
|
||||
|
||||
public GetBookDto? Book { get; set; }
|
||||
public GetMemberDto? Member { get; set; }
|
||||
}
|
||||
@@ -8,12 +8,12 @@ public class GetReviewDto
|
||||
public int Id { get; set; }
|
||||
|
||||
public int BookId { get; set; }
|
||||
public string? BookTitle { get; set; }
|
||||
|
||||
public int MemberId { get; set; }
|
||||
public string? MemberFullName { get; set; }
|
||||
|
||||
public int Rating { get; set; }
|
||||
public string? Comment { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
public GetBookDto? Book { get; set; }
|
||||
public GetMemberDto? Member { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user