diff --git a/projects/assessment-summary-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/assessment/entity/SentencePlan.kt b/projects/assessment-summary-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/assessment/entity/SentencePlan.kt index 997192c622..2a97144c13 100644 --- a/projects/assessment-summary-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/assessment/entity/SentencePlan.kt +++ b/projects/assessment-summary-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/assessment/entity/SentencePlan.kt @@ -32,6 +32,8 @@ class SentencePlan( @Column(name = "oasys_sentence_plan_id") val id: Long = 0 ) { + val partitionAreaId: Long = 0 + @OneToMany(mappedBy = "id.sentencePlan", cascade = [CascadeType.ALL]) var needs: List = listOf() private set