*/ public function wallet(): BelongsTo { return $this->belongsTo(Wallet::class); } /** * @return array */ protected function casts(): array { return [ 'amount' => 'integer', 'status' => WalletDepositStatus::class, 'meta' => 'array', ]; } }