Add team roles and content management updates

This commit is contained in:
AzuTear
2026-06-25 19:52:46 +02:00
parent 54293f4c45
commit 693769e5a8
126 changed files with 6966 additions and 738 deletions
+22
View File
@@ -0,0 +1,22 @@
namespace Backend.Domain;
public sealed class TeamMember
{
public int Id { get; set; }
public string Login { get; set; } = string.Empty;
public string DisplayName { get; set; } = string.Empty;
public string Role { get; set; } = string.Empty;
public string PasswordHash { get; set; } = string.Empty;
public string PasswordSalt { get; set; } = string.Empty;
public string? BoundTwitchUserId { get; set; }
public string? BoundTwitchDisplayName { get; set; }
public bool MustChangePassword { get; set; } = true;
public bool IsActive { get; set; } = true;
public string CreatedByTwitchId { get; set; } = string.Empty;
public string? UpdatedByTwitchId { get; set; }
public DateTimeOffset CreatedAt { get; set; }
public DateTimeOffset? UpdatedAt { get; set; }
public DateTimeOffset? LastLoginAt { get; set; }
public DateTimeOffset? TwitchBoundAt { get; set; }
public DateTimeOffset? PasswordResetAt { get; set; }
}