Basics setup, going to change how repos work
This commit is contained in:
11
DBConnection/Models/User.cs
Normal file
11
DBConnection/Models/User.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DBConnection.Models;
|
||||
|
||||
public class User : BaseEntity
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
public string Email { get; set; }
|
||||
public List<UserNovel> WatchedNovels { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user