<?php namespace Tps\Tps\Models;

use Model;

/**
 * Model
 */
class Cartoons extends Model
{
    use \October\Rain\Database\Traits\Validation;


    /**
     * @var string table in the database used by the model.
     */
    public $table = 'tps_tps_cartoons';

    /**
     * @var array rules for validation.
     */
    public $rules = [
    ];

    protected $casts = [
        'list_characters' => 'array',
        'list_shots' => 'array',
        'list_posters' => 'array'
    ];

    public $attachOne = [
        'trailer' => 'System\Models\File'
    ];


}
