user administration
This commit is contained in:
@@ -7,6 +7,11 @@ public class User
|
||||
public string Email { get; set; } = "";
|
||||
public string PasswordHash { get; set; } = "";
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
public bool IsAdmin { get; set; }
|
||||
public bool MustChangePassword { get; set; }
|
||||
|
||||
public int? FamilyId { get; set; }
|
||||
public Family? Family { get; set; }
|
||||
|
||||
public ICollection<Reminder> Reminders { get; set; } = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user