1
0
Fork 0
forked from mirror/pixelfed
pixelfed/app/StatusHashtag.php
2019-02-03 14:49:47 -07:00

20 lines
306 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class StatusHashtag extends Model
{
public $fillable = ['status_id', 'hashtag_id'];
public function status()
{
return $this->belongsTo(Status::class);
}
public function hashtag()
{
return $this->belongsTo(Hashtag::class);
}
}