<?php
namespace Incoviba\common;

use Incoviba\Common\Alias\OldModel as Model;

/**
 *
 * @author Aldarien
 * @property int $id
 * @property string $controller length=50
 * @property string $action length=100
 *
 */
class Location extends Model
{
  public static $_table = 'locations';

  public function permissions()
  {
  	return $this->hasMany(Permission::class, 'location')->findMany();
  }
}
?>
