39 lines
676 B
PHP
39 lines
676 B
PHP
<?php namespace tps\Airport\Models;
|
|
|
|
use Model;
|
|
|
|
/**
|
|
* Model
|
|
*/
|
|
class PageHeader extends Model
|
|
{
|
|
use \October\Rain\Database\Traits\Validation;
|
|
|
|
use \October\Rain\Database\Traits\SoftDelete;
|
|
|
|
public $implement = ['@RainLab.Translate.Behaviors.TranslatableModel'];
|
|
|
|
public $translatable = [
|
|
'header',
|
|
'short_txt',
|
|
'sub_menus',
|
|
'file_btn'
|
|
];
|
|
|
|
protected $jsonable = ['sub_menus'];
|
|
|
|
protected $dates = ['deleted_at'];
|
|
|
|
|
|
/**
|
|
* @var string The database table used by the model.
|
|
*/
|
|
public $table = 'tps_airport_headers';
|
|
|
|
/**
|
|
* @var array Validation rules
|
|
*/
|
|
public $rules = [
|
|
];
|
|
}
|