using FindAndDrive.Domain.Models.DTO.Response; using FindAndDrive.Domain.Models.Entities; namespace FindAndDrive.Domain.Mappers; public static class ApiKeyMapper { public static ApiKeyResponse Map(ApiKey apiKey) { return new ApiKeyResponse { Revoked = apiKey.Revoked, ClientId = apiKey.ClientId, CreatedAt = apiKey.CreatedAt, ModifiedAt = apiKey.ModifiedAt, ApiKeyId = apiKey.ApiKeyId, RoleId = apiKey.RoleId, }; } }