generated from aura-ascend/template-service
- AccountRepository - AccountEntity - 001-accounts.sql - Account with Request and Response
15 lines
314 B
Kotlin
15 lines
314 B
Kotlin
package ltd.lulz.model
|
|
|
|
import java.math.BigDecimal
|
|
import java.util.UUID
|
|
import org.springframework.data.annotation.Id
|
|
import org.springframework.data.relational.core.mapping.Table
|
|
|
|
@Table("accounts")
|
|
data class AccountEntity(
|
|
@Id
|
|
val id: UUID? = null,
|
|
val name: String,
|
|
val amount: BigDecimal,
|
|
)
|