26 lines
448 B
PHP
26 lines
448 B
PHP
|
<?php
|
||
|
|
||
|
namespace Silva\Adrema\Models;
|
||
|
|
||
|
use System\Models\SettingModel;
|
||
|
|
||
|
class Settings extends SettingModel
|
||
|
{
|
||
|
use \October\Rain\Database\Traits\Validation;
|
||
|
|
||
|
/**
|
||
|
* @var string table name
|
||
|
*/
|
||
|
public $settingsCode = 'silva_adrema_settings';
|
||
|
|
||
|
/**
|
||
|
* @var string field file
|
||
|
*/
|
||
|
public $settingsFields = 'fields.yaml';
|
||
|
|
||
|
/**
|
||
|
* @var array<string, string> rules for validation
|
||
|
*/
|
||
|
public $rules = [];
|
||
|
}
|