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