1
0
Fork 0
forked from mirror/pixelfed
pixelfed/app/Story.php
2019-01-12 00:42:26 -07:00

23 lines
326 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Story extends Model
{
public function items()
{
return $this->hasMany(StoryItem::class);
}
public function reactions()
{
return $this->hasMany(StoryReaction::class);
}
public function views()
{
return $this->hasMany(StoryView::class);
}
}