Rabbi_Gerzi/backend/app/Element/UseCases/CreateElement/CreateElementRequest.php
Yisroel Baum 9bbabc7fa6
route element file uploads
Add short and long PDF paths to elements, keep pdfPath as a short PDF compatibility alias, and route generic file uploads by fileType.
2026-06-14 23:17:56 +03:00

19 lines
449 B
PHP

<?php
namespace App\Element\UseCases\CreateElement;
class CreateElementRequest
{
public function __construct(
public ?int $setId,
public ?string $title,
public ?string $description,
public ?string $iconImageUrl,
public ?string $richText,
public ?string $shortPdfPath,
public ?string $longPdfPath,
public ?string $youtubeUrl,
public ?int $parentElementId,
) {
}
}