{Ninja-Shell}
Home
Info
Upload
Command
View /etc/passwd
cPanel Reset Password
Filename: /var/www//arsu/app/Model//OrderTransaction.php
<?php namespace App\Model; use App\User; use Illuminate\Database\Eloquent\Model; class OrderTransaction extends Model { public function seller() { return $this->belongsTo(Seller::class, 'seller_id'); } public function customer() { return $this->belongsTo(User::class, 'customer_id'); } public function order() { return $this->belongsTo(Order::class, 'order_id'); } public function order_details() { return $this->hasMany(OrderDetail::class, 'order_id', 'order_id'); } }
./Ninja\.