generated from aura-ascend/template-service
add Transaction
This commit is contained in:
14
src/main/kotlin/ltd/lulz/model/Transaction.kt
Normal file
14
src/main/kotlin/ltd/lulz/model/Transaction.kt
Normal file
@@ -0,0 +1,14 @@
|
||||
package ltd.lulz.model
|
||||
|
||||
import jakarta.validation.constraints.DecimalMin
|
||||
import java.math.BigDecimal
|
||||
import java.util.UUID
|
||||
|
||||
object Transaction {
|
||||
|
||||
data class Request(
|
||||
val account: UUID,
|
||||
@field:DecimalMin(value = "0.01")
|
||||
val amount: BigDecimal,
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user