Map guest_document extracted_data as json
All checks were successful
build-and-deploy / build-deploy (push) Successful in 1m35s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 1m35s
This commit is contained in:
@@ -3,6 +3,8 @@ package com.android.trisolarisserver.models.booking
|
||||
import com.android.trisolarisserver.models.property.AppUser
|
||||
import com.android.trisolarisserver.models.property.Property
|
||||
import jakarta.persistence.*
|
||||
import org.hibernate.annotations.JdbcTypeCode
|
||||
import org.hibernate.type.SqlTypes
|
||||
import java.time.OffsetDateTime
|
||||
import java.util.UUID
|
||||
|
||||
@@ -43,6 +45,7 @@ class GuestDocument(
|
||||
var storagePath: String,
|
||||
|
||||
@Column(name = "extracted_data", columnDefinition = "jsonb")
|
||||
@JdbcTypeCode(SqlTypes.JSON)
|
||||
var extractedData: String? = null,
|
||||
|
||||
@Column(name = "extracted_at", columnDefinition = "timestamptz")
|
||||
|
||||
Reference in New Issue
Block a user