Skip to content

Commit 47f124b

Browse files
Added the extra fields to the induction schedule mapper
1 parent 2498e21 commit 47f124b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/models/hmpps/InductionSchedule.kt

+5-5
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,16 @@ data class InductionSchedule(
9696
description = "The role of the person who performed the Induction with the prisoner. In the case of system generated updates or setting an exemption this field will not be present.",
9797
example = "Peer Mentor",
9898
)
99-
val inductionPerformedByRole: String? = null,
100-
@Schema(
101-
description = "An ISO-8601 date representing when the Induction was performed with the prisoner. In the case of system generated updates this field will not be present.",
102-
example = "2023-06-30",
103-
)
10499
val inductionPerformedAt: LocalDate? = null,
105100
@Schema(
106101
description = "The prison code that the induction was performed at.",
107102
example = "BXI",
108103
)
104+
val inductionPerformedByRole: String? = null,
105+
@Schema(
106+
description = "An ISO-8601 date representing when the Induction was performed with the prisoner. In the case of system generated updates this field will not be present.",
107+
example = "2023-06-30",
108+
)
109109
val inductionPerformedAtPrison: String? = null,
110110
@Schema(
111111
description = "If reason the induction schedule was exempted.",

0 commit comments

Comments
 (0)