<?php

class Vote extends Eloquent {
	protected $table = "votes";

	public function oFilm() {
		return $this->belongsTo('Film', 'film');
	}

	public function voter() {
		return $this->belongsTo('User', 'user');
	}
}