blob: 202fc50d7d432395accdf1aaf96e7b6cdccdcf41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?php
declare(strict_types=1);
namespace mystic\forum\orm;
use mystic\forum\attributes\PrimaryKey;
use mystic\forum\attributes\Table;
#[Table("public.topics")]
class Topic extends Entity {
#[PrimaryKey]
public string $id;
public string $title;
public \DateTimeImmutable $creationDate;
}
|