mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
384 B
PHP
23 lines
384 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
|
class HashtagFollow extends Model
|
|
{
|
|
protected $fillable = [
|
|
'user_id',
|
|
'profile_id',
|
|
'hashtag_id',
|
|
];
|
|
|
|
const MAX_LIMIT = 25;
|
|
|
|
public function hashtag(): BelongsTo
|
|
{
|
|
return $this->belongsTo(Hashtag::class);
|
|
}
|
|
}
|