37 lines
642 B
PHP
37 lines
642 B
PHP
<?php namespace tps\Airport\Models;
|
|
|
|
use Model;
|
|
|
|
/**
|
|
* Model
|
|
*/
|
|
class ContentCard 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',
|
|
'description',
|
|
'btn_txt',
|
|
];
|
|
|
|
protected $dates = ['deleted_at'];
|
|
|
|
|
|
/**
|
|
* @var string The database table used by the model.
|
|
*/
|
|
public $table = 'tps_airport_content_card';
|
|
|
|
/**
|
|
* @var array Validation rules
|
|
*/
|
|
public $rules = [
|
|
];
|
|
}
|