money.rave.common.backend.entity.order.OrderShare.kt Maven / Gradle / Ivy
package money.rave.common.backend.entity.order
import java.math.BigDecimal
import java.time.ZonedDateTime
import javax.persistence.Column
import javax.persistence.EmbeddedId
import javax.persistence.Entity
import javax.persistence.Table
@Entity
@Table(name = "order_share")
data class OrderShare(
@EmbeddedId
val id: OrderShareId,
@Column(name = "share", nullable = false, precision = 40, scale = 8)
val share: BigDecimal,
@Column(name = "is_active", nullable = false)
val isActive: Boolean,
@Column(name = "created_at", nullable = false)
val createdAt: ZonedDateTime,
@Column(name = "updated_at", nullable = false)
val updatedAt: ZonedDateTime,
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy