Add charge ledger for booking commissions
All checks were successful
build-and-deploy / build-deploy (push) Successful in 35s

This commit is contained in:
androidlover5842
2026-01-29 07:38:22 +05:30
parent a1db58ec95
commit e61393fc41
5 changed files with 187 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
package com.android.trisolarisserver.controller.dto
import java.time.OffsetDateTime
import java.util.UUID
data class ChargeCreateRequest(
val type: String,
val amount: Long,
val currency: String,
val occurredAt: String? = null,
val notes: String? = null
)
data class ChargeResponse(
val id: UUID,
val bookingId: UUID,
val type: String,
val amount: Long,
val currency: String,
val occurredAt: OffsetDateTime,
val notes: String?
)