Added autodelete for users after one year inactivity

This commit is contained in:
Sarah Faey 2022-12-08 17:37:00 +01:00
parent c886c6475e
commit 929ca9c0a7
7 changed files with 730 additions and 2 deletions

View file

@ -18,6 +18,8 @@ namespace Lieb.Models
public DateTime? Birthday { get; set; }
public DateTime? BannedUntil { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public DateTime? LastSignUpAt { get; set; }
public int MainGW2Account { get; set; }
public bool AlwaysSignUpWithMainAccount { get; set; } = false;
public ICollection<GuildWars2Account> GuildWars2Accounts { get; set; } = new List<GuildWars2Account>();