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
}