roles
This commit is contained in:
19
app/Models/TeamInvitation.php
Normal file
19
app/Models/TeamInvitation.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TeamInvitation extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'team_id',
|
||||
'email',
|
||||
'role',
|
||||
'link',
|
||||
];
|
||||
public function team()
|
||||
{
|
||||
return $this->belongsTo(Team::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user