*/ use HasFactory; /** @var array */ public $guarded = []; /** * @return BelongsTo */ public function course(): BelongsTo { return $this->belongsTo(Course::class); } /** * @return BelongsTo */ public function member(): BelongsTo { return $this->belongsTo(Member::class); } }