Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
AccessLogDto | 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 PeServer\Core\Database\DtoBase; |
8 | use PeServer\Core\Serialization\Mapping; |
9 | use PeServer\Core\Text; |
10 | |
11 | class AccessLogDto extends DtoBase |
12 | { |
13 | public string $timestamp = Text::EMPTY; |
14 | |
15 | #[Mapping(name: 'client_ip')] |
16 | public string $clientIp = Text::EMPTY; |
17 | |
18 | #[Mapping(name: 'client_host')] |
19 | public string $clientHost = Text::EMPTY; |
20 | |
21 | #[Mapping(name: 'request_id')] |
22 | public string $requestId = Text::EMPTY; |
23 | |
24 | public string $session = Text::EMPTY; |
25 | |
26 | public string $ua = Text::EMPTY; |
27 | |
28 | public string $method = Text::EMPTY; |
29 | |
30 | #[Mapping(name: 'path')] |
31 | public string $path = Text::EMPTY; |
32 | #[Mapping(name: 'query')] |
33 | public string $query = Text::EMPTY; |
34 | #[Mapping(name: 'fragment')] |
35 | public string $fragment = Text::EMPTY; |
36 | |
37 | public string $referer = Text::EMPTY; |
38 | |
39 | /** ミリ秒 */ |
40 | #[Mapping(name: 'running_time')] |
41 | public float $runningTime = 0.0; |
42 | } |