mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
38 lines
852 B
PHP
38 lines
852 B
PHP
<?php
|
|
namespace App\Models\Sistema;
|
|
|
|
use App\Models\BaseModel;
|
|
|
|
class SettingsModel extends BaseModel
|
|
{
|
|
protected $table = 'auth_settings';
|
|
protected $primaryKey = 'id';
|
|
|
|
protected $returnType = "App\Entities\Sistema\SettingsEntity";
|
|
|
|
const SORTABLE = [
|
|
];
|
|
|
|
protected $allowedFields = [
|
|
'email_gateway',
|
|
'email_name',
|
|
'email_address',
|
|
'email_smtp',
|
|
'email_port',
|
|
'email_pass',
|
|
'email_cert',
|
|
'remove_log',
|
|
'remove_log_time',
|
|
'remove_log_latest',
|
|
'storage_gateway',
|
|
'backup_storage',
|
|
'backup_table',
|
|
'backup_email',
|
|
'backup_notification_email',
|
|
'backup_automatic',
|
|
'backup_time',
|
|
'backup_latest'
|
|
];
|
|
protected $useTimestamps = true;
|
|
protected $updatedField = 'updated_at';
|
|
} |