codysnider /
tt-rss
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace RssApp\Model; |
||
| 6 | |||
| 7 | use DateTime; |
||
| 8 | use Doctrine\ORM\Mapping as ORM; |
||
| 9 | use RssApp\Model\Traits\Identified; |
||
| 10 | use RssApp\Model\Traits\Owned; |
||
| 11 | use RssApp\Model; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @ORM\Table(indexes={@ORM\Index(name="owner_uid", columns={"owner_uid"}), @ORM\Index(name="ttrss_counters_cache_value_idx", columns={"value"}), @ORM\Index(name="ttrss_counters_cache_feed_id_idx", columns={"feed_id"})}) |
||
| 15 | * @ORM\Entity |
||
| 16 | */ |
||
| 17 | class CountersCache extends Model |
||
| 18 | { |
||
| 19 | use Identified, |
||
| 20 | Owned; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var int |
||
| 24 | * |
||
| 25 | * @ORM\Column(name="feed_id", type="integer", nullable=false) |
||
| 26 | */ |
||
| 27 | private $feedId; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 28 | |||
| 29 | /** |
||
| 30 | * @var int |
||
| 31 | * |
||
| 32 | * @ORM\Column(name="value", type="integer", nullable=false) |
||
| 33 | */ |
||
| 34 | private $value = '0'; |
||
|
0 ignored issues
–
show
|
|||
| 35 | |||
| 36 | /** |
||
| 37 | * @var DateTime |
||
| 38 | * |
||
| 39 | * @ORM\Column(name="updated", type="datetime", nullable=false) |
||
| 40 | */ |
||
| 41 | private $updated; |
||
|
0 ignored issues
–
show
|
|||
| 42 | } |
||
| 43 |