Skip to content

Commit 3de1ae3

Browse files
feat: create temperature value object
1 parent aa0ff7c commit 3de1ae3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/kotlin/entities/environment/EnvironmentData.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,10 @@ object EnvironmentData {
1919
*/
2020
data class Humidity(val humidityPercentage: Int)
2121

22+
/**
23+
* The temperature of the room.
24+
* @param temperatureValue the temperature of the room.
25+
*/
26+
data class Temperature(val temperatureValue: Double)
27+
2228
}

0 commit comments

Comments
 (0)