mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 14:37:59 +01:00
20 lines
No EOL
323 B
PHP
20 lines
No EOL
323 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class PinnedPlaylist extends Model
|
|
{
|
|
protected $table = 'pinned_playlists';
|
|
|
|
public function user()
|
|
{
|
|
return $this->belongsTo('App\User');
|
|
}
|
|
|
|
public function playlist()
|
|
{
|
|
return $this->belongsTo('App\Playlist');
|
|
}
|
|
} |