Файловый менеджер - Редактировать - /home/clickysoft/public_html/calvary-p2.clickysoft.net/app/Models/HotLunchMenu.php
Назад
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class HotLunchMenu extends Model { use HasFactory; protected $fillable = [ 'hot_lunch_id', 'vendor_id', 'title', 'type', 'sort' ]; public function hotLunch() { return $this->belongsTo(HotLunch::class, 'hot_lunch_id', 'id'); } public function vendor() { return $this->belongsTo(LunchVendor::class, 'vendor_id', 'id'); } public function items() { return $this->hasMany(HotLunchMenuItem::class, 'hot_lunch_menu', 'id'); } public function grades() { return $this->hasMany(HotLunchMenuGrades::class, 'hot_lunch_menu_id', 'id'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка