Files
newznab-tmux/app/Models/Invitation.php
T
2017-09-27 23:35:20 +02:00

29 lines
412 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('App\Models\User', 'users_id');
}
}