Файловый менеджер - Редактировать - /home/clickysoft/public_html/calvary-p2.clickysoft.net/app/Models/HotLunch.php
Назад
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class HotLunch extends Model { use HasFactory; protected $fillable = [ 'title', 'description', 'reg_starts', 'reg_ends', 'lunch_half', 'status', 'late_fee', ]; public function hotLunchMenu() { return $this->hasMany(HotLunchMenu::class, 'hot_lunch_id', 'id'); } public function orders() { return $this->hasMany(LunchOrder::class, 'hot_lunch_id'); } public function orderChildItems() { return $this->hasMany(LunchOrderChildItem::class, 'hot_lunch_id'); } public function orderChildren() { return $this->hasMany(LunchOrderChild::class, 'hot_lunch_id'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка