pixelfed/app/MediaTag.php

22 lines
321 B
PHP
Raw Permalink Normal View History

2020-07-14 23:04:51 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class MediaTag extends Model
{
2023-01-21 14:48:27 +00:00
protected $guarded = [];
protected $visible = [
'status_id',
'profile_id',
'tagged_username',
];
2020-07-14 23:04:51 +00:00
public function status()
{
return $this->belongsTo(Status::class);
2020-07-14 23:04:51 +00:00
}
}