!feat: Added ProposedEmail to UserData
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
ed0f1c7187
commit
5282054cae
1 changed files with 22 additions and 28 deletions
|
@ -5,33 +5,28 @@ namespace ImageBoardServerApp.Data;
|
||||||
|
|
||||||
public class UserData
|
public class UserData
|
||||||
{
|
{
|
||||||
|
|
||||||
[Required]
|
[Required]
|
||||||
[DatabaseGenerated((DatabaseGeneratedOption.Identity))]
|
[DatabaseGenerated((DatabaseGeneratedOption.Identity))]
|
||||||
[Key]
|
[Key]
|
||||||
public int UserID { get; set; }
|
public int UserID { get; set; }
|
||||||
|
|
||||||
[Required]
|
[Required] public long TimeBanned { get; set; }
|
||||||
public long TimeBanned { get; set; }
|
|
||||||
|
|
||||||
[Required]
|
[Required] public string BanReason { get; set; }
|
||||||
public string BanReason { get; set; }
|
|
||||||
|
|
||||||
[Required]
|
[Required] public long lastActionTimeStamp { get; set; }
|
||||||
public long lastActionTimeStamp { get; set; }
|
|
||||||
|
|
||||||
public List<PostData> Posts { get; set; }
|
public List<PostData> Posts { get; set; }
|
||||||
|
|
||||||
public List<CommentData> Comments { get; set; }
|
public List<CommentData> Comments { get; set; }
|
||||||
|
|
||||||
[Required]
|
[Required] public string Email { get; set; }
|
||||||
public string Email { get; set; }
|
|
||||||
|
|
||||||
[Required]
|
[Required] public string ProposedEmail { get; set; }
|
||||||
public string Password { get; set; }
|
|
||||||
|
|
||||||
[Required]
|
[Required] public string Password { get; set; }
|
||||||
public string Role { get; set; }
|
|
||||||
|
[Required] public string Role { get; set; }
|
||||||
|
|
||||||
public List<ReportData> SubmittedReports { get; set; }
|
public List<ReportData> SubmittedReports { get; set; }
|
||||||
|
|
||||||
|
@ -46,5 +41,4 @@ public class UserData
|
||||||
public string ResetPasswordToken { get; set; }
|
public string ResetPasswordToken { get; set; }
|
||||||
|
|
||||||
public long ResetPasswordExpiresAt { get; set; }
|
public long ResetPasswordExpiresAt { get; set; }
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue