mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- harmonize field types and use explicit names - store html value alongside markdown descriptions for better performance - add duration and bandwidth to podcast analytics - add new analytics table for podcast hits by hour - replace visible MAXMIND_LICENCE_KEY with variable
25 lines
485 B
PHP
25 lines
485 B
PHP
<?php
|
|
|
|
/**
|
|
* @copyright 2020 Podlibre
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
namespace App\Entities;
|
|
|
|
use CodeIgniter\Entity;
|
|
|
|
class Platform extends Entity
|
|
{
|
|
protected $casts = [
|
|
'id' => 'integer',
|
|
'name' => 'string',
|
|
'label' => 'string',
|
|
'home_url' => 'string',
|
|
'submit_url' => '?string',
|
|
'link_url' => '?string',
|
|
'is_visible' => '?boolean',
|
|
];
|
|
}
|