Cleanup of lazy loading code. Made some DTOs use init rather than set to keep it clean.
This commit is contained in:
parent
33515ad865
commit
af35d8aad5
18 changed files with 103 additions and 68 deletions
|
|
@ -6,8 +6,8 @@
|
|||
public string Name { get; init; }
|
||||
public string OriginalName { get; init; }
|
||||
public string SortName { get; init; }
|
||||
public byte[] CoverImage { get; init; } // This should be optional or a thumbImage (much smaller)
|
||||
|
||||
public byte[] CoverImage { get; init; } // This should be optional or a thumbImage (much smaller) // TODO: Refactor to lazy loading
|
||||
public string CoverImageUrl { get; init; }
|
||||
|
||||
// Grouping information
|
||||
public string LibraryName { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue