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

24 lines
326 B
PHP
Raw Normal View History

2018-11-04 03:45:44 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Story extends Model
{
2019-01-12 07:42:26 +00:00
public function items()
{
return $this->hasMany(StoryItem::class);
}
public function reactions()
{
return $this->hasMany(StoryReaction::class);
}
public function views()
{
return $this->hasMany(StoryView::class);
}
2018-11-04 03:45:44 +00:00
}