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.
22 lines
328 B
PHTML
22 lines
328 B
PHTML
|
6 years ago
|
<?php
|
||
|
|
|
||
|
4 weeks ago
|
namespace App\Models;
|
||
|
6 years ago
|
|
||
|
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
|
||
|
|
class MediaTag extends Model
|
||
|
|
{
|
||
|
4 years ago
|
protected $guarded = [];
|
||
|
|
|
||
|
3 years ago
|
protected $visible = [
|
||
|
|
'status_id',
|
||
|
|
'profile_id',
|
||
|
|
'tagged_username',
|
||
|
|
];
|
||
|
|
|
||
|
6 years ago
|
public function status()
|
||
|
|
{
|
||
|
3 years ago
|
return $this->belongsTo(Status::class);
|
||
|
6 years ago
|
}
|
||
|
|
}
|