<?php

class Video extends ContentTypeModel{
  use LanguageSupportTrait;

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

    public function entries()
    {
        return $this->belongsTo('Entry')
        ->withPivot('position');
    }

    public function image(){
      return $this->belongsTo("MediaItem");
    }

}
