File "TeamInvitation.php"

Full Path: /home/fundopuh/trader.fxex.org/vendor/laravel/jetstream/src/TeamInvitation.php
File size: 511 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Laravel\Jetstream;

use Illuminate\Database\Eloquent\Model;

class TeamInvitation extends Model
{
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'email',
        'role',
    ];

    /**
     * Get the team that the invitation belongs to.
     *
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function team()
    {
        return $this->belongsTo(Jetstream::teamModel());
    }
}