ok

Mini Shell

Direktori : /home2/selectio/public_html/limpiar.in.net/updates/app/Models/
Upload File :
Current File : //home2/selectio/public_html/limpiar.in.net/updates/app/Models/OrderDetail.php

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class OrderDetail extends Model
{
    public function order()
    {
        return $this->belongsTo(Order::class);
    }

    public function product()
    {
        return $this->belongsTo(Product::class);
    }

    public function pickup_point()
    {
        return $this->belongsTo(PickupPoint::class);
    }

    public function refund_request()
    {
        return $this->hasOne(RefundRequest::class);
    }

    public function affiliate_log()
    {
        return $this->hasMany(AffiliateLog::class);
    }
}

Zerion Mini Shell 1.0