using SPMS.Domain.Enums; namespace SPMS.Domain.Entities; public class Admin : BaseEntity { public string AdminCode { get; set; } = string.Empty; public string Email { get; set; } = string.Empty; public string Password { get; set; } = string.Empty; public string Phone { get; set; } = string.Empty; public string Name { get; set; } = string.Empty; public AdminRole Role { get; set; } public bool EmailVerified { get; set; } public DateTime? EmailVerifiedAt { get; set; } public DateTime CreatedAt { get; set; } public DateTime? LastLoginAt { get; set; } public string? RefreshToken { get; set; } public DateTime? RefreshTokenExpiresAt { get; set; } public bool IsDeleted { get; set; } public DateTime? DeletedAt { get; set; } public bool AgreeTerms { get; set; } public bool AgreePrivacy { get; set; } public DateTime AgreedAt { get; set; } }