diff --git a/src/main/kotlin/entities/events/TrackingEvent.kt b/src/main/kotlin/entities/events/TrackingEvent.kt new file mode 100644 index 0000000..96ed9ae --- /dev/null +++ b/src/main/kotlin/entities/events/TrackingEvent.kt @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2023. Smart Operating Block + * + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */ + +package entities.events + +/** + * The event of health professionals tracking inside the operating block rooms. + */ +data class TrackingEvent ( + + override val key: String = "TRACKING_EVENT", + + /** + * The health professional ID. + */ + val healthProfessionalId: String, + + /** + * The room ID. + */ + val roomId: String, + + override val data: E, + +) : Event