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; }
}
