From f6080c4a1b9baedf63219bb9fbdb0b1ed8bad3f8 Mon Sep 17 00:00:00 2001 From: Anthony Date: Fri, 26 Apr 2024 13:16:34 +0100 Subject: [PATCH] feat(connector): create Action data entity --- .../connector/shared/entity/Action.kt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 connector/shared/src/commonMain/kotlin/io/anthonyberg/connector/shared/entity/Action.kt diff --git a/connector/shared/src/commonMain/kotlin/io/anthonyberg/connector/shared/entity/Action.kt b/connector/shared/src/commonMain/kotlin/io/anthonyberg/connector/shared/entity/Action.kt new file mode 100644 index 0000000..f3cfd87 --- /dev/null +++ b/connector/shared/src/commonMain/kotlin/io/anthonyberg/connector/shared/entity/Action.kt @@ -0,0 +1,18 @@ +package io.anthonyberg.connector.shared.entity + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +@Serializable +data class Action( + @SerialName("id") + val id: Int, + @SerialName("procedure_id") + val procedureId: Int, + @SerialName("step") + val step: Int, + @SerialName("type") + val type: String, + @SerialName("goal") + val goal: String, +)