Pony.fm/app/PinnedPlaylist.php

18 lines
299 B
PHP
Raw Normal View History

2015-08-30 14:29:12 +02:00
<?php
use Illuminate\Database\Eloquent\Model;
class PinnedPlaylist extends Model
{
protected $table = 'pinned_playlists';
public function user()
{
return $this->belongsTo('User');
}
public function playlist()
{
return $this->belongsTo('Playlist');
}
}