Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
CrashReportDetailDto | 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 CrashReportDetailDto 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 | public string $exception = Text::EMPTY; |
36 | public string $email = Text::EMPTY; |
37 | public string $comment = Text::EMPTY; |
38 | |
39 | public string $report = Text::EMPTY; |
40 | |
41 | #[Mapping(name: 'developer_comment')] |
42 | public string $developerComment = Text::EMPTY; |
43 | |
44 | #endregion |
45 | } |