aboutsummaryrefslogtreecommitdiff
path: root/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Attribute.kt
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-22 22:32:27 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-22 22:32:27 -0600
commit707b89f48297c68af514d6aa475b13624652df51 (patch)
tree4b63479f55e404a8b35e958a1e7a6b4439517096 /shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Attribute.kt
parent35da6cfb0b80b57a7c3c47c7f9f9b8a5f222019d (diff)
downloadetbsa-trackermap-mobile-707b89f48297c68af514d6aa475b13624652df51.tar.gz
etbsa-trackermap-mobile-707b89f48297c68af514d6aa475b13624652df51.tar.bz2
etbsa-trackermap-mobile-707b89f48297c68af514d6aa475b13624652df51.zip
Removed all Java references from shared module
Diffstat (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Attribute.kt')
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Attribute.kt13
1 files changed, 8 insertions, 5 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Attribute.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Attribute.kt
index 0404967..7c139b5 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Attribute.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/client/models/Attribute.kt
@@ -11,6 +11,8 @@
*/
package mx.trackermap.TrackerMap.client.models
+import kotlinx.serialization.Serializable
+
/**
*
@@ -20,13 +22,14 @@ package mx.trackermap.TrackerMap.client.models
* @param expression
* @param type String|Number|Boolean
*/
+@Serializable
data class Attribute (
- val id: kotlin.Int? = null,
- val description: kotlin.String? = null,
- val attribute: kotlin.String? = null,
- val expression: kotlin.String? = null,
+ val id: Int? = null,
+ val description: String? = null,
+ val attribute: String? = null,
+ val expression: String? = null,
/* String|Number|Boolean */
- val type: kotlin.String? = null
+ val type: String? = null
) {
} \ No newline at end of file