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