2019-07-07 02:51:23 +00:00
|
|
|
<?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'
|
|
|
|
];
|
2019-07-09 03:46:00 +00:00
|
|
|
|
2023-05-09 08:05:23 +00:00
|
|
|
const MAX_LIMIT = 250;
|
|
|
|
|
2019-07-09 03:46:00 +00:00
|
|
|
public function hashtag()
|
|
|
|
{
|
|
|
|
return $this->belongsTo(Hashtag::class);
|
|
|
|
}
|
2019-07-07 02:51:23 +00:00
|
|
|
}
|