JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "Addresse.php"

Full Path: /home/u703019046/domains/nawabs.com.au/public_html/app/Models/Addresse.php
File size: 724 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use  App\Models\Country;
use  App\Models\State;
use  App\Models\City;

class Addresse extends Model
{
    use HasFactory;
    protected $table = 'addresses';
    public function GetCountry()
    {
        return $this->belongsTo(Country::class,'country_id','id');
    }
    public function GetState()
    {
        return $this->belongsTo(State::class,'state_id','id');
    }
    public function GetCity()
    {
        return $this->belongsTo(City::class,'city_id','id');
    }
    public function DeliveryArea()
    {
        return $this->belongsTo(DeleveryArea::class,'area_id','id');
    }


}