mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00
27 lines
623 B
PHP
27 lines
623 B
PHP
![]() |
<?php
|
||
|
|
||
|
namespace App\Entities;
|
||
|
|
||
|
use CodeIgniter\Entity;
|
||
|
|
||
|
class Episode extends Entity
|
||
|
{
|
||
|
protected $casts = [
|
||
|
'slug' => 'string',
|
||
|
'title' => 'string',
|
||
|
'enclosure_url' => 'string',
|
||
|
'enclosure_length' => 'integer',
|
||
|
'enclosure_type' => 'string',
|
||
|
'guid' => 'string',
|
||
|
'pub_date' => 'datetime',
|
||
|
'description' => 'string',
|
||
|
'duration' => 'integer',
|
||
|
'image' => 'string',
|
||
|
'explicit' => 'boolean',
|
||
|
'episode_number' => 'integer',
|
||
|
'season_number' => '?integer',
|
||
|
'type' => 'string',
|
||
|
'block' => 'boolean',
|
||
|
];
|
||
|
}
|