2018-06-01 03:15:37 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
class StatusHashtag extends Model
|
|
|
|
{
|
2018-07-18 00:12:23 +00:00
|
|
|
public $fillable = ['status_id', 'hashtag_id'];
|
2019-02-03 21:49:47 +00:00
|
|
|
|
|
|
|
public function status()
|
|
|
|
{
|
|
|
|
return $this->belongsTo(Status::class);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function hashtag()
|
|
|
|
{
|
|
|
|
return $this->belongsTo(Hashtag::class);
|
|
|
|
}
|
2018-06-01 03:15:37 +00:00
|
|
|
}
|