Pony.fm/app/models/Entities/PinnedPlaylist.php

16 lines
299 B
PHP
Raw Normal View History

2013-07-28 19:45:21 +02:00
<?php
namespace Entities;
use Traits\SlugTrait;
class PinnedPlaylist extends \Eloquent {
protected $table = 'pinned_playlists';
public function user() {
return $this->belongsTo('Entities\User');
}
public function playlist() {
return $this->belongsTo('Entities\Playlist');
}
}