Attainly/backend/app/Set/Set.php
2026-08-03 22:20:41 +03:00

29 lines
438 B
PHP

<?php
namespace App\Set;
use App\User\User;
final readonly class Set
{
public function __construct(
private int $id,
private string $name,
private User $creator,
) {}
public function getId(): int
{
return $this->id;
}
public function getName(): string
{
return $this->name;
}
public function getCreator(): User
{
return $this->creator;
}
}