We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d19b7 commit a0b03d7Copy full SHA for a0b03d7
src/main/kotlin/entity/medicaltechnology/MedicalTechnology.kt
@@ -15,12 +15,14 @@ import entity.zone.RoomID
15
* This is an entity that is identified by an [id].
16
* In addition, it has a [name], a [description] and a [type].
17
* A medical technology can be associated to a [entity.zone.Room] through its [roomId].
18
+ * Inside the room the technology can be used and its usage is tracked by [isInUse].
19
*/
20
data class MedicalTechnology(
21
val id: MedicalTechnologyID,
22
val name: String,
23
val description: String,
24
val type: MedicalTechnologyType,
25
+ var isInUse: Boolean = false,
26
val roomId: RoomID? = null,
27
) {
28
init {
0 commit comments