Файловый менеджер - Редактировать - /home/clickysoft/public_html/securebeans.clickysoft.net/app/Models/ManagersLogs.php
Назад
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use ESolution\DBEncryption\Traits\EncryptedAttribute; class ManagersLogs extends Model { use HasFactory, EncryptedAttribute; public $table = 'logs'; protected $dates = [ 'created_at', 'updated_at', 'deleted_at', ]; protected $fillable = [ 'old_name', 'new_name', 'old_email', 'new_email', 'old_phone', 'new_phone', 'old_status', 'new_status', 'updated_by', 'created_at', 'updated_at', ]; protected $encryptable = [ 'old_name', 'new_name', 'old_email', 'new_email', 'old_phone_no', 'new_phone_no', 'old_status', 'new_status', ]; public function changedBy(){ return $this->belongsTo(User::class,'updated_by'); } public function accountManager(){ return $this->belongsTo(AccountManager::class,'account_manager_id'); } public function oldsalesManager(){ return $this->belongsTo(AccountManager::class,'sales_manager_id_old'); } public function newsalesManager(){ return $this->belongsTo(AccountManager::class,'sales_manager_id_new'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка