enforce element level hierarchy

This commit is contained in:
Yisroel Baum 2026-08-11 22:50:07 +03:00
parent 25495b6c4d
commit 99e1ba051c
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
5 changed files with 80 additions and 44 deletions

View file

@ -2,14 +2,13 @@
namespace App\Element;
use App\Set\Set;
use App\Set\SetLevel;
final readonly class CreateElementDto
{
public function __construct(
public Set $set,
public string $name,
public string $kind,
public SetLevel $level,
public ?Element $parentElement,
) {}
}