using MemberCenter.Domain.Entities;
using Microsoft.AspNetCore.Identity;

namespace MemberCenter.Infrastructure.Identity;

public class ApplicationUser : IdentityUser<Guid>
{
    public DateTimeOffset CreatedAt { get; set; } = DateTimeOffset.UtcNow;
    public bool IsBlacklisted { get; set; }
    public DateTimeOffset? BlacklistedAt { get; set; }
    public string? BlacklistedBy { get; set; }
    public DateTimeOffset? LastLoginAt { get; set; }
    public DateTimeOffset? LastSeenAt { get; set; }
    public DateTimeOffset? DisabledAt { get; set; }
    public string? DisabledBy { get; set; }

    public UserProfile? Profile { get; set; }
    public List<UserAddress> Addresses { get; set; } = new();
}
