Use JSON columns instead of junction tables
This commit is contained in:
parent
8fd50d030b
commit
b36f6c8f0b
35 changed files with 471 additions and 1103 deletions
|
|
@ -10,13 +10,10 @@ public sealed record UserReadingProfileDto
|
|||
{
|
||||
|
||||
public int Id { get; set; }
|
||||
|
||||
public int UserId { get; init; }
|
||||
|
||||
public string Name { get; init; }
|
||||
|
||||
/// <inheritdoc cref="AppUserReadingProfile.Implicit"/>
|
||||
public bool Implicit { get; set; } = false;
|
||||
public ReadingProfileKind Kind { get; init; }
|
||||
|
||||
#region MangaReader
|
||||
|
||||
|
|
@ -129,12 +126,4 @@ public sealed record UserReadingProfileDto
|
|||
|
||||
#endregion
|
||||
|
||||
#region Relations
|
||||
|
||||
public IList<int> SeriesIds { get; set; } = [];
|
||||
|
||||
public IList<int> LibraryIds { get; set; } = [];
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue