pixelfed/app/HashtagFollow.php

22 wiersze
306 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class HashtagFollow extends Model
{
2019-07-08 06:13:46 +00:00
protected $fillable = [
'user_id',
'profile_id',
'hashtag_id'
];
2025-03-02 10:51:38 +00:00
const MAX_LIMIT = 25;
public function hashtag()
{
return $this->belongsTo(Hashtag::class);
}
}