ok

Mini Shell

Direktori : /proc/thread-self/root/home2/selectio/public_html/myclassicfit.com-1/app/Model/
Upload File :
Current File : //proc/thread-self/root/home2/selectio/public_html/myclassicfit.com-1/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');
    }
}

Zerion Mini Shell 1.0