xref: /web-php/src/UserNotes/UserNote.php (revision 7b2c9af6)
1<?php
2
3namespace phpweb\UserNotes;
4
5final readonly class UserNote
6{
7    public function __construct(
8        public string $id,
9        public string $sect,
10        public string $rate,
11        public string $ts,
12        public string $user,
13        public string $text,
14        public int $upvotes = 0,
15        public int $downvotes = 0,
16    ) {
17    }
18}
19