You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/models/hmpps/InductionSchedule.kt
+18-6
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ import java.time.LocalDate
16
16
data classInductionSchedules(
17
17
@Schema(
18
18
description ="""
19
-
A list of induction schedule versions for this prisoner. The prisoner will only have one induction schedule but for various reasons the schedule can be updated.
19
+
A list of induction schedule versions for this prisoner.
20
+
The prisoner will only have one induction schedule but for various reasons the schedule can be updated.
20
21
This list will show each change the schedule has been through. This allows for reports to be generated.
21
22
""",
22
23
)
@@ -78,7 +79,8 @@ data class InductionSchedule(
78
79
)
79
80
valnomisNumber:String? = null,
80
81
@Schema(
81
-
description ="The name of the person who used the PLP system to update the Induction Schedule, or 'system' for system generated updates.",
82
+
description ="The name of the person who used the PLP system to update the Induction Schedule, "+
83
+
"or 'system' for system generated updates.",
82
84
example ="John Smith",
83
85
)
84
86
valsystemUpdatedBy:String? = null,
@@ -88,17 +90,26 @@ data class InductionSchedule(
88
90
)
89
91
valsystemUpdatedAt:Instant? = null,
90
92
@Schema(
91
-
description ="The name 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.",
93
+
description ="""
94
+
The name of the person who performed the Induction with the prisoner.
95
+
In the case of system generated updates or setting an exemption this field will not be present.
96
+
""",
92
97
example ="Fred Jones",
93
98
)
94
99
valinductionPerformedBy:String? = null,
95
100
@Schema(
96
-
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.",
101
+
description ="""
102
+
An ISO-8601 date representing when the Induction was performed with the prisoner.
103
+
In the case of system generated updates this field will not be present.
104
+
""",
97
105
example ="2023-06-30",
98
106
)
99
107
valinductionPerformedAt:LocalDate? = null,
100
108
@Schema(
101
-
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.",
109
+
description ="""
110
+
The role of the person who performed the Induction with the prisoner.
111
+
In the case of system generated updates or setting an exemption this field will not be present.
112
+
""",
102
113
example ="Peer Mentor",
103
114
)
104
115
valinductionPerformedByRole:String? = null,
@@ -116,7 +127,8 @@ data class InductionSchedule(
116
127
description ="""
117
128
The induction schedule can change status numerous times.
118
129
When looking at the plp-induction-schedule/history of the inductions.
119
-
The version number indicates which version of the induction schedule this one is, the higher the number the newer the update.
130
+
The version number indicates which version of the induction schedule this one is,
0 commit comments