mirror of
https://gitlab.com/omair-personal/izyim.git
synced 2026-08-19 12:24:11 +00:00
27 lines
445 B
PHP
Executable File
27 lines
445 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
use Illuminate\Notifications\Notifiable;
|
|
|
|
class UserInvitation extends AbstractModel
|
|
{
|
|
use Notifiable;
|
|
|
|
public $incrementing = true;
|
|
|
|
protected $table = 'user_invitation';
|
|
|
|
protected $fillable = [
|
|
'email',
|
|
'hash',
|
|
'role_id',
|
|
'sender_id',
|
|
'is_complete',
|
|
];
|
|
|
|
public function sender() {
|
|
return $this->belongsTo(user::class, 'sender_id');
|
|
}}
|