1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-27 10:16:47 +00:00
pixelfed/app/Bookmark.php

22 lines
302 B
PHP
Raw Normal View History

2018-05-31 21:56:46 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Bookmark extends Model
{
2019-02-03 21:47:26 +00:00
protected $fillable = ['profile_id', 'status_id'];
public function status()
{
return $this->belongsTo(Status::class);
}
public function profile()
{
return $this->belongsTo(Profile::class);
}
2018-05-31 21:56:46 +00:00
}