<?php

class Location extends ContentTypeModel{
    use LanguageSupportTrait;

    protected $hidden = array('languages', "websites");
    protected $with = array('languages', "websites");

    public function occurrence()
    {
        return $this->belongsToMany("Occurrence");
    }

    public function country() {
        return $this->belongsTo("Country");
    }
}
