22 lines
329 B
PHP
22 lines
329 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class TeamInvitation extends Model
|
|
{
|
|
protected $fillable = [
|
|
'team_id',
|
|
'uuid',
|
|
'email',
|
|
'role',
|
|
'link',
|
|
'via',
|
|
];
|
|
public function team()
|
|
{
|
|
return $this->belongsTo(Team::class);
|
|
}
|
|
}
|