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/CustomFilterStatus.php

24 lines
398 B
PHP

<?php
namespace App\Models;
use App\Status;
use Illuminate\Database\Eloquent\Model;
class CustomFilterStatus extends Model
{
protected $fillable = [
'custom_filter_id', 'status_id',
];
public function customFilter()
{
return $this->belongsTo(CustomFilter::class);
}
public function status()
{
return $this->belongsTo(Status::class);
}
}