add user to plan

This commit is contained in:
Yisroel Baum 2026-02-23 10:58:37 +02:00
parent 9c2f95eda1
commit 547558d850
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
5 changed files with 18 additions and 0 deletions

View file

@ -2,11 +2,14 @@
namespace App\Plan;
use App\User\User;
class Plan
{
public function __construct(
private int $id,
private string $name,
private User $user,
) {}
public function getId(): int
@ -18,4 +21,9 @@ class Plan
{
return $this->name;
}
public function getUser(): User
{
return $this->user;
}
}