Skip to content
Snippets Groups Projects

Feature/ln 1242 ideascale profiles

Closed Willard Odongo requested to merge feature/LN-1242-ideascale-profiles into dev
8 files
+ 287
0
Compare changes
  • Side-by-side
  • Inline
Files
8
<?php
declare(strict_types=1);
namespace App\DataTransferObjects;
use Spatie\LaravelData\Data;
use Spatie\TypeScriptTransformer\Attributes\Optional as TypeScriptOptional;
use Spatie\TypeScriptTransformer\Attributes\TypeScript;
#[TypeScript]
final class IdeascaleProfileData extends Data
{
public function __construct(
public ?int $id,
#[TypeScriptOptional]
public ?int $ideascaleId,
#[TypeScriptOptional]
public ?string $username,
#[TypeScriptOptional]
public ?string $email,
#[TypeScriptOptional]
public ?string $name,
#[TypeScriptOptional]
public ?string $bio,
#[TypeScriptOptional]
public ?string $createdAt,
#[TypeScriptOptional]
public ?string $updatedAt,
#[TypeScriptOptional]
public ?string $twitter,
#[TypeScriptOptional]
public ?string $linkedin,
#[TypeScriptOptional]
public ?string $discord,
#[TypeScriptOptional]
public ?string $ideascale,
#[TypeScriptOptional]
public ?int $claimedBy,
#[TypeScriptOptional]
public ?string $telegram,
#[TypeScriptOptional]
public ?string $title
) {}
}
Loading