Change Accessor from class to trait

This commit is contained in:
Alex Cabal 2024-05-04 13:07:03 -05:00
parent 10bea9ad9e
commit 41dd9db4aa
13 changed files with 43 additions and 24 deletions

View file

@ -3,12 +3,14 @@ use Ramsey\Uuid\Uuid;
use Safe\DateTimeImmutable;
/**
* @property Array<Payment> $Payments
* @property array<Payment> $Payments
* @property ?bool $IsRegistered
* @property Benefits $Benefits
* @property ?array<Payment> $_Payments
*/
class User extends Accessor{
class User{
use Traits\Accessor;
public int $UserId;
public ?string $Name = null;
public ?string $Email = null;