1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00
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);
}
}