mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Converts Tags and Genres as HashSets, to enforce non-duplicate values
This commit is contained in:
1 parent
e10ca26ae4
commit
182c8aadb5
3 files changed
+30
-31
No files matched your search
@@ -25,8 +25,8 @@ public class BookDto : IStorageEntity
|
||||
public string? OriginalLanguageCode { get; init; }
|
||||
public string? OriginalLanguageName { get; init; }
|
||||
public string? OriginalLanguageNativeName { get; init; }
|
||||
public List<TagDto> Tags { get; init; } = [];
|
||||
public List<GenreDto> Genres { get; init; } = [];
|
||||
public HashSet<TagDto> Tags { get; set; } = [];
|
||||
public HashSet<GenreDto> Genres { get; set; } = [];
|
||||
public string? Publisher { get; init; }
|
||||
public int? PageCount { get; init; }
|
||||
public string Format { get; init; } = null!;
|
||||
|
||||
Reference in new issue
Block a user