마케팅 트래킹
- type에 @Enumerated(value = EnumType.STRING) 추가
This commit is contained in:
@@ -2,6 +2,8 @@ package kr.co.vividnext.sodalive.marketing
|
||||
|
||||
import java.time.LocalDateTime
|
||||
import javax.persistence.Entity
|
||||
import javax.persistence.EnumType
|
||||
import javax.persistence.Enumerated
|
||||
import javax.persistence.GeneratedValue
|
||||
import javax.persistence.GenerationType
|
||||
import javax.persistence.Id
|
||||
@@ -15,6 +17,7 @@ data class AdTrackingHistory(
|
||||
val mediaGroup: String,
|
||||
val pid: String,
|
||||
val pidName: String,
|
||||
@Enumerated(value = EnumType.STRING)
|
||||
val type: AdTrackingHistoryType,
|
||||
val price: Double = 0.toDouble(),
|
||||
val locale: String? = null,
|
||||
|
Reference in New Issue
Block a user