Skip to content

Commit e1bacf4

Browse files
committed
fix: Add type field to operation
1 parent 5168af9 commit e1bacf4

File tree

1 file changed

+2
-0
lines changed
  • src/main/kotlin/com/ctrlhub/core/governance/schemes/workorders/operations/response

1 file changed

+2
-0
lines changed

src/main/kotlin/com/ctrlhub/core/governance/schemes/workorders/operations/response/Operation.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class Operation @JsonCreator constructor(
1717
@JsonProperty("name") var name: String = "",
1818
@JsonProperty("code") var code: String = "",
1919
@JsonProperty("description") var description: String? = "",
20+
@JsonProperty("type") var type: String? = null,
2021
@JsonProperty("start_date") var startDate: LocalDate? = null,
2122
@JsonProperty("end_date") var endDate: LocalDate? = null,
2223
@JsonProperty("uprns") var uprns: List<String>? = emptyList(),
@@ -32,6 +33,7 @@ class Operation @JsonCreator constructor(
3233
name = "",
3334
code = "",
3435
description = "",
36+
type = null,
3537
startDate = null,
3638
endDate = null,
3739
uprns = emptyList(),

0 commit comments

Comments
 (0)