$this->startingBalance, 'debitBalance' => $this->debitBalance, 'creditBalance' => $this->creditBalance, 'netMovement' => $this->netMovement, 'endingBalance' => $this->endingBalance, ]; } public static function fromLivewire($value): static { return new static( $value['startingBalance'], $value['debitBalance'], $value['creditBalance'], $value['netMovement'], $value['endingBalance'], ); } }