mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
PHP
36 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Support\Carbon;
|
|
|
|
/**
|
|
* @property int $id
|
|
* @property int $story_id
|
|
* @property int $profile_id
|
|
* @property Carbon|null $created_at
|
|
* @property Carbon|null $updated_at
|
|
* @property-read Story|null $story
|
|
*
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|StoryView newModelQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|StoryView newQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|StoryView query()
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|StoryView whereCreatedAt($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|StoryView whereId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|StoryView whereProfileId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|StoryView whereStoryId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder<static>|StoryView whereUpdatedAt($value)
|
|
*
|
|
* @mixin \Eloquent
|
|
*/
|
|
class StoryView extends Model
|
|
{
|
|
public $fillable = ['story_id', 'profile_id'];
|
|
|
|
public function story()
|
|
{
|
|
return $this->belongsTo(Story::class);
|
|
}
|
|
}
|