first commit
This commit is contained in:
15
BookHive/DTO/Author/GetAuthorDetailsDto.cs
Normal file
15
BookHive/DTO/Author/GetAuthorDetailsDto.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using BookHive.DTO.Book;
|
||||
|
||||
namespace BookHive.DTO.Author;
|
||||
|
||||
public class GetAuthorDetailsDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? FirstName { get; set; }
|
||||
public string? LastName { get; set; }
|
||||
public string? Biography { get; set; }
|
||||
public DateOnly BirthDate { get; set; }
|
||||
public string? Nationality { get; set; }
|
||||
|
||||
public List<GetBookDto>? Books { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user