2020-05-31 19:15:52 +00:00
|
|
|
<?php
|
2020-06-10 15:00:12 +00:00
|
|
|
/**
|
|
|
|
* @copyright 2020 Podlibre
|
|
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
|
|
* @link https://castopod.org/
|
|
|
|
*/
|
2020-05-31 19:15:52 +00:00
|
|
|
|
|
|
|
namespace App\Entities;
|
|
|
|
|
|
|
|
use CodeIgniter\Entity;
|
|
|
|
|
|
|
|
class Podcast extends Entity
|
|
|
|
{
|
|
|
|
protected $casts = [
|
2020-06-12 19:31:10 +00:00
|
|
|
'id' => 'integer',
|
2020-05-31 19:15:52 +00:00
|
|
|
'title' => 'string',
|
|
|
|
'name' => 'string',
|
|
|
|
'description' => 'string',
|
|
|
|
'image' => 'string',
|
|
|
|
'language' => 'string',
|
2020-06-12 19:31:10 +00:00
|
|
|
'category' => 'string',
|
2020-05-31 19:15:52 +00:00
|
|
|
'explicit' => 'boolean',
|
|
|
|
'author' => '?string',
|
|
|
|
'owner_name' => '?string',
|
|
|
|
'owner_email' => '?string',
|
|
|
|
'type' => '?string',
|
|
|
|
'copyright' => '?string',
|
|
|
|
'block' => 'boolean',
|
|
|
|
'complete' => 'boolean',
|
2020-06-12 19:31:10 +00:00
|
|
|
'episode_description_footer' => '?string',
|
2020-05-31 19:15:52 +00:00
|
|
|
'custom_html_head' => '?string',
|
|
|
|
];
|
|
|
|
}
|