diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/util/LoadDimension.kt b/theodolite-quarkus/src/main/kotlin/theodolite/util/LoadDimension.kt
index 6a3953b6be6f8964ed7fb9cfbd6e92053b8b886c..ba1facf34f4af8ca24f6fad72f5f8ed9d72297b7 100644
--- a/theodolite-quarkus/src/main/kotlin/theodolite/util/LoadDimension.kt
+++ b/theodolite-quarkus/src/main/kotlin/theodolite/util/LoadDimension.kt
@@ -1,17 +1,7 @@
 package theodolite.util
 
-class LoadDimension(val number: Int) { // data class ?
+data class LoadDimension(val number: Int) {
     public fun get(): Int {
         return this.number;
     }
-    public override fun equals(other: Any?): Boolean {
-        if (other is LoadDimension) {
-            return this.get() == other.get()
-        }
-        return false
-    }
-
-    override fun hashCode(): Int {
-        return this.get().hashCode()
-    }
 }
diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/util/Resource.kt b/theodolite-quarkus/src/main/kotlin/theodolite/util/Resource.kt
index 9d1478c47ed4810ef44eba0e2b248763dd385e13..d17a9daff0621a884543b63a92a3e1541131a544 100644
--- a/theodolite-quarkus/src/main/kotlin/theodolite/util/Resource.kt
+++ b/theodolite-quarkus/src/main/kotlin/theodolite/util/Resource.kt
@@ -1,18 +1,7 @@
 package theodolite.util
 
-class Resource(val number: Int) {
+data class Resource(val number: Int) {
     public fun get(): Int {
         return this.number;
     }
-
-    public override fun equals(other: Any?): Boolean {
-        if (other is Resource) {
-            return this.get() == other.get()
-        }
-        return false
-    }
-
-    override fun hashCode(): Int {
-        return this.get().hashCode()
-    }
 }
\ No newline at end of file