mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-10 20:43:22 +02:00
- rename podlibre to adaures - rename castopod-host to castopod - simplify README and redirect to docs site - move INSTALL and UPDATE docs - add new gitlabci pipeline to deploy docs - upgrade node to v16 in Dockerfile
34 lines
558 B
PHP
34 lines
558 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* @copyright 2021 Ad Aures
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
namespace App\Entities;
|
|
|
|
use Michalsn\Uuid\UuidEntity;
|
|
|
|
/**
|
|
* @property int $actor_id
|
|
* @property string $comment_id
|
|
*/
|
|
class Like extends UuidEntity
|
|
{
|
|
/**
|
|
* @var string[]
|
|
*/
|
|
protected $uuids = ['comment_id'];
|
|
|
|
/**
|
|
* @var array<string, string>
|
|
*/
|
|
protected $casts = [
|
|
'actor_id' => 'integer',
|
|
'comment_id' => 'string',
|
|
];
|
|
}
|