mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-14 02:24:31 +00:00
30 lines
420 B
PHP
30 lines
420 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class StatusHashtag extends Model
|
|
{
|
|
public $fillable = [
|
|
'status_id',
|
|
'hashtag_id',
|
|
'profile_id'
|
|
];
|
|
|
|
public function status()
|
|
{
|
|
return $this->belongsTo(Status::class);
|
|
}
|
|
|
|
public function hashtag()
|
|
{
|
|
return $this->belongsTo(Hashtag::class);
|
|
}
|
|
|
|
public function profile()
|
|
{
|
|
return $this->belongsTo(Profile::class);
|
|
}
|
|
}
|