Add team roles and content management updates
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user