Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/app/Models/Lease.php
Назад
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Lease extends Model { use HasFactory; public $guarded = []; public function template() { return $this->belongsTo(Template::class); } // Define the inverse relationships with User and Unit public function landlord() { return $this->belongsTo(User::class, 'landlord_id'); } public function tenant() { return $this->belongsTo(User::class, 'tenant_id'); } public function unit() { return $this->belongsTo(Unit::class); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка