Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
FeedbackDetailDto | 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 FeedbackDetailDto extends DtoBase |
15 | { |
16 | #region variable |
17 | |
18 | public int $sequence = -1; |
19 | |
20 | #[Mapping(converter: DateTimeConverter::class)] |
21 | public DateTimeInterface $timestamp; |
22 | |
23 | #[Mapping(name: 'ip_address')] |
24 | public string $ipAddress = Text::EMPTY; |
25 | |
26 | public string $version = Text::EMPTY; |
27 | |
28 | public string $revision = Text::EMPTY; |
29 | |
30 | public string $build = Text::EMPTY; |
31 | |
32 | #[Mapping(name: 'user_id')] |
33 | public string $userId = Text::EMPTY; |
34 | |
35 | #[Mapping(name: 'first_execute_timestamp')] |
36 | public string $firstExecuteTimestamp = Text::EMPTY; |
37 | #[Mapping(name: 'first_execute_version')] |
38 | public string $firstExecuteVersion = Text::EMPTY; |
39 | |
40 | public string $process = Text::EMPTY; |
41 | public string $platform = Text::EMPTY; |
42 | public string $os = Text::EMPTY; |
43 | public string $clr = Text::EMPTY; |
44 | |
45 | public string $kind = Text::EMPTY; |
46 | public string $subject = Text::EMPTY; |
47 | public string $content = Text::EMPTY; |
48 | |
49 | #[Mapping(name: 'developer_comment')] |
50 | public string $developerComment = Text::EMPTY; |
51 | |
52 | #endregion |
53 | } |