Yassine Doghri bb4752c35e feat(comments): add comments to episodes + update naming of status to post
- remove confusing counts for episode (total favourites, total reblogs)
- add comments section to
episode page to display episode comments + post replies linked to the episode
2021-12-29 11:54:22 +00:00

34 lines
562 B
PHP

<?php
declare(strict_types=1);
/**
* @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 $post_id
*/
class Favourite extends UuidEntity
{
/**
* @var string[]
*/
protected $uuids = ['post_id'];
/**
* @var array<string, string>
*/
protected $casts = [
'actor_id' => 'integer',
'post_id' => 'string',
];
}