koel/app/Models/PodcastUserPivot.php

26 lines
504 B
PHP
Raw Normal View History

2024-05-19 05:49:42 +00:00
<?php
namespace App\Models;
2024-05-19 05:49:42 +00:00
use App\Casts\Podcast\PodcastStateCast;
use App\Values\Podcast\PodcastState;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Relations\Pivot;
/**
* @property Carbon $created_at
2024-06-13 14:46:13 +00:00
* @property Carbon $updated_at
2024-05-19 05:49:42 +00:00
* @property PodcastState $state
*/
class PodcastUserPivot extends Pivot
{
protected $table = 'podcast_user';
protected $guarded = [];
protected $appends = ['meta'];
protected $casts = [
'state' => PodcastStateCast::class,
];
}