Changed design language. Added editions, better support for authors. Base for file handling

This commit is contained in:
2026-03-28 15:17:20 +02:00
parent cbd7f52535
commit 5acde17a53
84 changed files with 5861 additions and 1983 deletions
@@ -4,4 +4,30 @@ public class AuthorDto
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string? Bio { get; set; }
public int? BornYear { get; set; }
public string? ImageUrl { get; set; }
public string? Slug { get; set; }
public string Role { get; set; } = "Author";
}
public class AuthorSummaryDto
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string? Bio { get; set; }
public int? BornYear { get; set; }
public string? ImageUrl { get; set; }
public int BookCount { get; set; }
}
public class AuthorDetailDto
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string? Bio { get; set; }
public int? BornYear { get; set; }
public string? ImageUrl { get; set; }
public string? Slug { get; set; }
public BookDto[] Books { get; set; } = [];
}