File: D:/HostingSpaces/SBogers10/topswtw.komma.pro/workbench/komma/kms/src/Komma/Kms/Taxes/Models/Tax.php
<?php namespace Komma\Kms\Taxes\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Short description for the file.
*
* @author Jaap Faes <jaap@komma.pro>
* @copyright (c) 2012-2015, Komma Mediadesign
*/
class Tax extends Model
{
protected $table = 'taxes';
protected $fillable = ['country_id', 'name', 'rate'];
public function country()
{
return $this->belongsTo('Komma\Kms\Countries\Country');
}
}