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\Traits\Identified; |
||
9 | use RssApp\Model\Traits\Owned; |
||
10 | use RssApp\Model; |
||
11 | |||
12 | /** |
||
13 | * @ORM\Table(indexes={@ORM\Index(name="owner_uid", columns={"owner_uid"})}) |
||
14 | * @ORM\Entity |
||
15 | */ |
||
16 | class AccessKey extends Model |
||
17 | { |
||
18 | use Identified, |
||
19 | Owned; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | * |
||
24 | * @ORM\Column(name="access_key", type="string", length=250, nullable=false) |
||
25 | */ |
||
26 | private $accessKey; |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | * |
||
31 | * @ORM\Column(name="feed_id", type="string", length=250, nullable=false) |
||
32 | */ |
||
33 | private $feedId; |
||
0 ignored issues
–
show
|
|||
34 | |||
35 | /** |
||
36 | * @var bool |
||
37 | * |
||
38 | * @ORM\Column(name="is_cat", type="boolean", nullable=false) |
||
39 | */ |
||
40 | private $isCat = false; |
||
0 ignored issues
–
show
|
|||
41 | } |
||
42 |