mirror of
https://github.com/koel/koel
synced 2024-12-24 03:23:06 +00:00
25 lines
504 B
PHP
25 lines
504 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use App\Casts\Podcast\PodcastStateCast;
|
|
use App\Values\Podcast\PodcastState;
|
|
use Carbon\Carbon;
|
|
use Illuminate\Database\Eloquent\Relations\Pivot;
|
|
|
|
/**
|
|
* @property Carbon $created_at
|
|
* @property Carbon $updated_at
|
|
* @property PodcastState $state
|
|
*/
|
|
class PodcastUserPivot extends Pivot
|
|
{
|
|
protected $table = 'podcast_user';
|
|
|
|
protected $guarded = [];
|
|
protected $appends = ['meta'];
|
|
|
|
protected $casts = [
|
|
'state' => PodcastStateCast::class,
|
|
];
|
|
}
|