Slight changes to the entity, more UI work
This commit is contained in:
parent
5656fb2148
commit
9b4a4b8a50
24 changed files with 864 additions and 315 deletions
20
API/Entities/ReadingProfile/LibraryReadingProfile.cs
Normal file
20
API/Entities/ReadingProfile/LibraryReadingProfile.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace API.Entities;
|
||||
|
||||
[Index(nameof(LibraryId), nameof(AppUserId), IsUnique = true)]
|
||||
public class LibraryReadingProfile
|
||||
{
|
||||
|
||||
public int Id { get; set; }
|
||||
|
||||
public int AppUserId { get; set; }
|
||||
public AppUser AppUser { get; set; }
|
||||
|
||||
public int LibraryId { get; set; }
|
||||
public Library Library { get; set; }
|
||||
|
||||
public int ReadingProfileId { get; set; }
|
||||
public AppUserReadingProfile ReadingProfile { get; set; }
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue