42 lines
827 B
PHP
42 lines
827 B
PHP
|
<?php namespace Aweos\Resizer\Models;
|
||
|
|
||
|
use Model;
|
||
|
|
||
|
/**
|
||
|
* Setting Model
|
||
|
*/
|
||
|
class Setting extends Model
|
||
|
{
|
||
|
/**
|
||
|
* @var string The database table used by the model.
|
||
|
*/
|
||
|
public $table = 'aweos_resizer_settings';
|
||
|
|
||
|
public $implement = ['System.Behaviors.SettingsModel'];
|
||
|
public $settingsCode = 'resizer';
|
||
|
public $settingsFields = 'fields.yaml';
|
||
|
|
||
|
/**
|
||
|
* @var array Guarded fields
|
||
|
*/
|
||
|
protected $guarded = ['*'];
|
||
|
|
||
|
/**
|
||
|
* @var array Fillable fields
|
||
|
*/
|
||
|
protected $fillable = [];
|
||
|
|
||
|
/**
|
||
|
* @var array Relations
|
||
|
*/
|
||
|
public $hasOne = [];
|
||
|
public $hasMany = [];
|
||
|
public $belongsTo = [];
|
||
|
public $belongsToMany = [];
|
||
|
public $morphTo = [];
|
||
|
public $morphOne = [];
|
||
|
public $morphMany = [];
|
||
|
public $attachOne = [];
|
||
|
public $attachMany = [];
|
||
|
}
|