1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?php declare(strict_types=1); namespace mystic\forum\orm; use mystic\forum\attributes\PrimaryKey; use mystic\forum\attributes\Table; #[Table("public.users")] class User extends Entity { #[PrimaryKey] public string $id; public string $name; public string $displayName; public \DateTimeImmutable $created; public string $passwordHash; }