airport2023/plugins/tps/airport/models/Partner.php

34 lines
608 B
PHP
Raw Normal View History

2023-06-26 19:59:04 +00:00
<?php namespace tps\Airport\Models;
use Model;
/**
* Model
*/
class Partner extends Model
{
use \October\Rain\Database\Traits\Validation;
use \October\Rain\Database\Traits\SoftDelete;
protected $dates = ['deleted_at'];
public $implement = ['@RainLab.Translate.Behaviors.TranslatableModel'];
public $translatable = [
'header',
];
2023-10-05 06:10:28 +00:00
protected $jsonable = ['images'];
2023-06-26 19:59:04 +00:00
/**
* @var string The database table used by the model.
*/
public $table = 'tps_airport_partners';
/**
* @var array Validation rules
*/
public $rules = [
];
}