Files
WebNovelPortal/Treestar.Shared/Models/DBDomain/User.cs
littlefoot e4529e11c0
All checks were successful
continuous-integration/drone/push Build is passing
Fixed dockerfiles and fixed chapter upserts
2022-07-17 10:16:32 -04:00

14 lines
353 B
C#

using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace Treestar.Shared.Models.DBDomain
{
[Index(nameof(Email))]
public class User : BaseEntity
{
[Key]
public int Id { get; set; }
public string Email { get; set; }
public List<UserNovel> WatchedNovels { get; set; }
}
}