Skip to content

Commit a0b03d7

Browse files
chore(medical-technology): add isInUse property
1 parent 85d19b7 commit a0b03d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/kotlin/entity/medicaltechnology/MedicalTechnology.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ import entity.zone.RoomID
1515
* This is an entity that is identified by an [id].
1616
* In addition, it has a [name], a [description] and a [type].
1717
* 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].
1819
*/
1920
data class MedicalTechnology(
2021
val id: MedicalTechnologyID,
2122
val name: String,
2223
val description: String,
2324
val type: MedicalTechnologyType,
25+
var isInUse: Boolean = false,
2426
val roomId: RoomID? = null,
2527
) {
2628
init {

0 commit comments

Comments
 (0)