Files
newznab-tmux/app/Models/Invitation.php
T
2017-11-01 23:16:22 +01:00

29 lines
406 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Invitation extends Model
{
/**
* @var bool
*/
public $timestamps = false;
/**
* @var bool
*/
protected $dateFormat = false;
/**
* @var array
*/
protected $guarded = ['id'];
public function user()
{
return $this->belongsTo(User::class, 'users_id');
}
}