<?php

namespace App\Models;


class IpNation extends BaseModel
{
    /**
     * The database table used by the model.
     *
     * @var string
     */
    protected $table = 'ip_nation';


    protected $guarded = [ ];

    /**
     * The attributes excluded from the model's JSON form.
     *
     * @var array
     */
    protected $hidden = [ ];

    public function country()
    {
        return $this->hasOne('App\Models\IpNationCountries','code', 'country');
    }

}
