summaryrefslogtreecommitdiff
path: root/src/application/mystic/forum/orm/User.php
blob: 3b531b48746a21c59d574e15241c742f2828af03 (plain)
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;
}