Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
FeedbackListItemDto | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\App\Models\Data\Dto; |
6 | |
7 | use DateTime; |
8 | use DateTimeInterface; |
9 | use PeServer\Core\Database\DtoBase; |
10 | use PeServer\Core\Serialization\Converter\DateTimeConverter; |
11 | use PeServer\Core\Serialization\Mapping; |
12 | use PeServer\Core\Text; |
13 | |
14 | class FeedbackListItemDto extends DtoBase |
15 | { |
16 | #region variable |
17 | |
18 | public int $sequence = -1; |
19 | |
20 | #[Mapping(converter: DateTimeConverter::class)] |
21 | public DateTimeInterface $timestamp; |
22 | public string $version = Text::EMPTY; |
23 | public string $kind = Text::EMPTY; |
24 | public string $subject = Text::EMPTY; |
25 | |
26 | #endregion |
27 | } |