ok

Mini Shell

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

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Address extends Model
{
    protected $fillable = ['set_default'];

    public function user()
    {
        return $this->belongsTo(User::class);
    }

    public function country()
    {
        return $this->belongsTo(Country::class);
    }
    
    public function state()
    {
        return $this->belongsTo(State::class);
    }
    
    public function city()
    {
        return $this->belongsTo(City::class);
    }
}

Zerion Mini Shell 1.0