mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 15:20:32 -04:00
Change Accessor from class to trait
This commit is contained in:
parent
10bea9ad9e
commit
41dd9db4aa
13 changed files with 43 additions and 24 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue