Файловый менеджер - Редактировать - /home/clickysoft/public_html/calvary-p2.clickysoft.net/app/Models/LunchOrderChildItem.php
Назад
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class LunchOrderChildItem extends Model { protected $table = 'lunch_order_child_items'; protected $fillable = [ 'user_id', 'order_id', 'child_id', 'menu_id', 'vendor_id', 'hot_lunch_id', 'item_id', 'price' ]; protected $dates = [ 'created_at', 'updated_at', ]; protected $casts = [ 'created_at' => 'date:m-d-Y', 'updated_at' => 'date:m-d-Y', ]; public function vendor() { return $this->belongsTo(LunchVendor::class, 'vendor_id'); } public function user() { return $this->belongsTo(User::class, 'user_id'); } public function item() { return $this->belongsTo(VendorItem::class, 'item_id'); } public function menu() { return $this->belongsTo(HotLunchMenu::class, 'menu_id'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка