Newer
Older

Yassine Doghri
committed

Yassine Doghri
committed
declare(strict_types=1);
* Class AnalyticsPodcasts Entity for AnalyticsPodcasts
*
* @copyright 2020 Podlibre
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
* @link https://castopod.org/
*/

Yassine Doghri
committed

Yassine Doghri
committed
namespace Analytics\Entities;

Yassine Doghri
committed
use CodeIgniter\Entity\Entity;
/**
* @property int $podcast_id
* @property Time $date

Yassine Doghri
committed
* @property double $duration
* @property int $bandwidth
* @property int $unique_listeners
* @property int $hits
* @property Time $created_at
* @property Time $updated_at
*/
class AnalyticsPodcasts extends Entity
/**
* @var string[]
*/
protected $dates = ['date', 'created_at', 'updated_at'];

Yassine Doghri
committed
/**
* @var array<string, string>
*/
protected $casts = [
'podcast_id' => 'integer',

Yassine Doghri
committed
'duration' => 'double',
'bandwidth' => 'integer',
'hits' => 'integer',