for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Judite\Models;
use Illuminate\Database\Eloquent\Model;
class Invitation extends Model
{
/**
* Get the student of this invitation.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function student()
return $this->belongsTo(Student::class);
}
* Get the group of this invitation.
public function group()
return $this->belongsTo(Group::class);