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.
pixelfed/app/Models/MediaTag.php

25 lines
374 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* @property-read Status|null $status
*/
class MediaTag extends Model
{
protected $guarded = [];
protected $visible = [
'status_id',
'profile_id',
'tagged_username',
];
public function status()
{
return $this->belongsTo(Status::class);
}
}