using Indotalent.Data.Entities;

namespace Indotalent.Infrastructure.Authentication.Identity;

public static class DefaultUserConfig
{
    public static ApplicationUser GetAdminUser(DefaultAdminSettings settings) => new()
    {
        FullName = settings.FullName,
        UserName = settings.Email,
        Email = settings.Email,
        EmailConfirmed = true,
        CreatedAt = DateTime.Now,
        IsActive = true
    };
}