1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace RssApp\Model; |
||
6 | |||
7 | use Doctrine\ORM\Mapping as ORM; |
||
8 | use RssApp\Model; |
||
9 | use RssApp\Model\Traits\Identified; |
||
10 | |||
11 | /** |
||
12 | * @ORM\Table(uniqueConstraints={@ORM\UniqueConstraint(name="access_key", columns={"access_key"})}) |
||
13 | * @ORM\Entity |
||
14 | */ |
||
15 | class LinkedInstance extends Model |
||
16 | { |
||
17 | use Identified; |
||
18 | |||
19 | /** |
||
20 | * @var \DateTime |
||
21 | * |
||
22 | * @ORM\Column(name="last_connected", type="datetime", nullable=false) |
||
23 | */ |
||
24 | private $lastConnected; |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
25 | |||
26 | /** |
||
27 | * @var int |
||
28 | * |
||
29 | * @ORM\Column(name="last_status_in", type="integer", nullable=false) |
||
30 | */ |
||
31 | private $lastStatusIn; |
||
0 ignored issues
–
show
|
|||
32 | |||
33 | /** |
||
34 | * @var int |
||
35 | * |
||
36 | * @ORM\Column(name="last_status_out", type="integer", nullable=false) |
||
37 | */ |
||
38 | private $lastStatusOut; |
||
0 ignored issues
–
show
|
|||
39 | |||
40 | /** |
||
41 | * @var string |
||
42 | * |
||
43 | * @ORM\Column(name="access_key", type="string", length=250, nullable=false) |
||
44 | */ |
||
45 | private $accessKey; |
||
0 ignored issues
–
show
|
|||
46 | |||
47 | /** |
||
48 | * @var string |
||
49 | * |
||
50 | * @ORM\Column(name="access_url", type="text", length=65535, nullable=false) |
||
51 | */ |
||
52 | private $accessUrl; |
||
0 ignored issues
–
show
|
|||
53 | } |
||
54 |