ok

Mini Shell

Direktori : /home2/selectio/public_html/myclassicfit.com/app/Model/
Upload File :
Current File : //home2/selectio/public_html/myclassicfit.com/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