richard
/
cyca
Archived
1
0
Fork 0
This repository has been archived on 2024-05-04. You can view files and clone it, but cannot push or open issues or pull requests.
cyca/app/Models/IgnoredFeed.php

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);
}
}