23 lines
501 B
PHP
23 lines
501 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\DTOs\Uploads;
|
|
|
|
use Carbon\CarbonImmutable;
|
|
|
|
final class UploadSessionData
|
|
{
|
|
public function __construct(
|
|
public readonly string $id,
|
|
public readonly int $userId,
|
|
public readonly string $tempPath,
|
|
public readonly string $status,
|
|
public readonly string $ip,
|
|
public readonly CarbonImmutable $createdAt,
|
|
public readonly int $progress,
|
|
public readonly ?string $failureReason
|
|
) {
|
|
}
|
|
}
|