mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-30 00:28:00 +01:00
16 lines
299 B
PHP
16 lines
299 B
PHP
|
<?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');
|
||
|
}
|
||
|
}
|