koel/app/Models/Podcast/PodcastUserPivot.php
2024-07-06 17:45:04 +02:00

24 lines
480 B
PHP

<?php
namespace App\Models\Podcast;
use App\Casts\Podcast\PodcastStateCast;
use App\Values\Podcast\PodcastState;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Relations\Pivot;
/**
* @property Carbon $created_at
* @property PodcastState $state
*/
class PodcastUserPivot extends Pivot
{
protected $table = 'podcast_user';
protected $guarded = [];
protected $appends = ['meta'];
protected $casts = [
'state' => PodcastStateCast::class,
];
}