Newer
Older
<?php
/**
* @copyright 2021 Podlibre
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
* @link https://castopod.org/
*/
namespace ActivityPub\Entities;
use Michalsn\Uuid\UuidEntity;
/**
* @property int $actor_id
* @property string $note_id
*/
class Favourite extends UuidEntity
{

Yassine Doghri
committed
/**
* @var string[]
*/
protected $uuids = ['note_id'];

Yassine Doghri
committed
/**
* @var array<string, string>
*/
protected $casts = [
'actor_id' => 'integer',
'note_id' => 'string',