cyca/app/Models/IgnoredFeed.php
Richard Dern 400e3d01f1 Refresh
2022-01-12 00:35:37 +01:00

35 lines
779 B
PHP
Executable File

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class IgnoredFeed extends Model
{
public $timestamps = false;
// -------------------------------------------------------------------------
// ----| Relations |--------------------------------------------------------
// -------------------------------------------------------------------------
/**
* Ignored feed.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function feed()
{
return $this->belongsTo(Feed::class);
}
/**
* User ignoring feed.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function user()
{
return $this->belongsTo(User::class);
}
}