ok
Direktori : /proc/thread-self/root/home2/selectio/www/ecommerce-website/website/app/Model/ |
Current File : //proc/thread-self/root/home2/selectio/www/ecommerce-website/website/app/Model/WithdrawRequest.php |
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class WithdrawRequest extends Model { protected $casts = [ 'amount' => 'float', 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; public function seller(){ return $this->belongsTo(Seller::class,'seller_id'); } public function delivery_men(){ return $this->belongsTo(DeliveryMan::class,'delivery_man_id'); } public function withdraw_method() { return $this->belongsTo(WithdrawalMethod::class,'withdrawal_method_id'); } }