*/ protected $fillable = [ 'event_id', 'user_id', ]; /** * Get the event for this attachment. * * @return Illuminate\Database\Eloquent\Relations\BelongsTo */ public function event(): BelongsTo { return $this->belongsTo(Event::class); } /** * Get the user for this attachment. * * @return Illuminate\Database\Eloquent\Relations\BelongsTo */ public function user(): BelongsTo { return $this->belongsTo(User::class); } }