Skip to content

Commit

Permalink
PI-1991: Corrected verified (#3487)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcphee77 authored Mar 18, 2024
1 parent 9c25582 commit caa3d74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ data class Circumstance(
val type: String,
val subType: String,
val notes: String?,
val verified: Boolean = false,
val verified: Boolean?,
val startDate: LocalDate,
val lastUpdated: LocalDate,
val lastUpdatedBy: Name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import org.hibernate.annotations.Fetch
import org.hibernate.annotations.FetchMode
import org.hibernate.annotations.Immutable
import org.hibernate.annotations.SQLRestriction
import org.hibernate.type.YesNoConverter
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.Query
import uk.gov.justice.digital.hmpps.integrations.delius.referencedata.entity.ReferenceData
Expand Down Expand Up @@ -43,7 +44,8 @@ class PersonalCircumstance(
@Column(name = "notes", columnDefinition = "clob")
val notes: String? = null,

val evidenced: Boolean = false,
@Convert(converter = YesNoConverter::class)
val evidenced: Boolean? = false,

val startDate: LocalDate,

Expand Down

0 comments on commit caa3d74

Please sign in to comment.