mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-27 07:17: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');
|
|
}
|
|
} |