*/ protected $fillable = [ 'type', 'closed', 'notes' ]; public function crew(): BelongsToMany { return $this->belongsToMany( AlertCrew::class, 'alerts_crew_associations' ); } /** * Get the user. */ public function addedBy(): BelongsTo { return $this->belongsTo(User::class); } /** * Get the user. */ public function updatedBy(): BelongsTo { return $this->belongsTo(User::class); } }