mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-19 21:11:26 +00:00
20 lines
306 B
PHP
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);
|
|
}
|
|
}
|