using Microsoft.AspNetCore.Identity;
namespace ROLAC.API.Entities;
public class AppUser : IdentityUser
{
/// Links this login account to a church member record. Null for admin-only accounts.
public int? MemberId { get; set; }
/// UI language preference: 'en' or 'zh-TW'.
public string LanguagePreference { get; set; } = "en";
/// False = account suspended (returns 403 even with correct password).
public bool IsActive { get; set; } = true;
public DateTime? LastLoginAt { get; set; }
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public ICollection RefreshTokens { get; set; } = new List();
}