<?php

use App\Libs\Database\Eloquent\WOLanguageCollection;

class WebsiteObjectLanguage extends BaseModel
{
    protected $table = "website_objects_lang";
    public $timestamps = false;
    protected $primaryKey = 'wo_translation_id';
    protected $guarded = array();

    public function newCollection(array $models = array())
    {
        return new WOLanguageCollection($models);
    }

    public function language()
    {
        return $this->belongsTo('Language');
    }
}
