feat: Payment, AdTrackingHistory 엔티티 price - Decimal(10, 4)에 대응되도록 Column 추가
This commit is contained in:
@@ -26,6 +26,7 @@ data class Payment(
|
||||
var receiptId: String? = null
|
||||
var method: String? = null
|
||||
|
||||
@Column(precision = 10, scale = 4, nullable = false)
|
||||
var price: BigDecimal = 0.toBigDecimal()
|
||||
var locale: String? = null
|
||||
var orderId: String? = null
|
||||
|
@@ -2,6 +2,7 @@ package kr.co.vividnext.sodalive.marketing
|
||||
|
||||
import java.math.BigDecimal
|
||||
import java.time.LocalDateTime
|
||||
import javax.persistence.Column
|
||||
import javax.persistence.Entity
|
||||
import javax.persistence.EnumType
|
||||
import javax.persistence.Enumerated
|
||||
@@ -20,6 +21,7 @@ data class AdTrackingHistory(
|
||||
val pidName: String,
|
||||
@Enumerated(value = EnumType.STRING)
|
||||
val type: AdTrackingHistoryType,
|
||||
@Column(precision = 10, scale = 4, nullable = false)
|
||||
val price: BigDecimal = 0.toBigDecimal(),
|
||||
val locale: String? = null,
|
||||
val memberId: Long,
|
||||
|
Reference in New Issue
Block a user