diff --git a/ImageBoardServerApp/Data/UserData.cs b/ImageBoardServerApp/Data/UserData.cs index d396e1d..a83ebaf 100644 --- a/ImageBoardServerApp/Data/UserData.cs +++ b/ImageBoardServerApp/Data/UserData.cs @@ -5,46 +5,40 @@ namespace ImageBoardServerApp.Data; public class UserData { - [Required] [DatabaseGenerated((DatabaseGeneratedOption.Identity))] [Key] public int UserID { get; set; } - [Required] - public long TimeBanned { get; set; } - - [Required] - public string BanReason { get; set; } - - [Required] - public long lastActionTimeStamp { get; set; } - + [Required] public long TimeBanned { get; set; } + + [Required] public string BanReason { get; set; } + + [Required] public long lastActionTimeStamp { get; set; } + public List Posts { get; set; } - + public List Comments { get; set; } - - [Required] - public string Email { get; set; } - - [Required] - public string Password { get; set; } - - [Required] - public string Role { get; set; } - + + [Required] public string Email { get; set; } + + [Required] public string ProposedEmail { get; set; } + + [Required] public string Password { get; set; } + + [Required] public string Role { get; set; } + public List SubmittedReports { get; set; } - + public List RecivedReports { get; set; } - + public string LastUsedName { get; set; } - + public bool ConfirmedEmail { get; set; } - + public string ConfirmEmailToken { get; set; } - + public string ResetPasswordToken { get; set; } - + public long ResetPasswordExpiresAt { get; set; } - } \ No newline at end of file