add element persistence
This commit is contained in:
parent
aaab0e5379
commit
fcc6ade8f3
7 changed files with 289 additions and 0 deletions
15
backend/app/Element/CreateElementDto.php
Normal file
15
backend/app/Element/CreateElementDto.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace App\Element;
|
||||
|
||||
use App\Set\Set;
|
||||
|
||||
final readonly class CreateElementDto
|
||||
{
|
||||
public function __construct(
|
||||
public Set $set,
|
||||
public string $name,
|
||||
public string $kind,
|
||||
public ?Element $parentElement,
|
||||
) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue