generated from ministryofjustice/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PI-1991: Added address tel number and circ, dis and provision endpoin…
…ts (#3480) * PI-1991: Added address tel number and circ, dis and provision endpoints * PI-1991: Added requires interpreter
- Loading branch information
Showing
20 changed files
with
408 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...ain/kotlin/uk/gov/justice/digital/hmpps/api/model/personalDetails/CircumstanceOverview.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package uk.gov.justice.digital.hmpps.api.model.personalDetails | ||
|
||
import uk.gov.justice.digital.hmpps.api.model.Name | ||
import uk.gov.justice.digital.hmpps.api.model.PersonSummary | ||
import java.time.LocalDate | ||
|
||
data class CircumstanceOverview( | ||
val personSummary: PersonSummary, | ||
val circumstances: List<Circumstance> | ||
) | ||
|
||
data class Circumstance( | ||
val type: String, | ||
val subType: String, | ||
val notes: String?, | ||
val verified: Boolean = false, | ||
val startDate: LocalDate, | ||
val lastUpdated: LocalDate, | ||
val lastUpdatedBy: Name | ||
) |
Oops, something went wrong.