'immutable_datetime', 'ends_at' => 'immutable_datetime']; } public function other(): BelongsTo { return $this->belongsTo(Tribe::class, 'other_tribe_id'); } /** @return array{tribe_id: int, other_tribe_id: int, state: string, confirmed: bool, ends_at: CarbonImmutable|null} */ public function row(): array { return ['tribe_id' => $this->tribe_id, 'other_tribe_id' => $this->other_tribe_id, 'state' => $this->state, 'confirmed' => $this->confirmed_at !== null, 'ends_at' => $this->ends_at]; } }