Skip to content

Commit 61dfb21

Browse files
feat(events): create tracking event
1 parent 8a033c2 commit 61dfb21

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright (c) 2023. Smart Operating Block
3+
*
4+
* Use of this source code is governed by an MIT-style
5+
* license that can be found in the LICENSE file or at
6+
* https://opensource.org/licenses/MIT.
7+
*/
8+
9+
package entities.events
10+
11+
/**
12+
* The event of health professionals tracking inside the operating block rooms.
13+
*/
14+
data class TrackingEvent<E : Any> (
15+
16+
override val key: String = "TRACKING_EVENT",
17+
18+
/**
19+
* The health professional ID.
20+
*/
21+
val healthProfessionalId: String,
22+
23+
/**
24+
* The room ID.
25+
*/
26+
val roomId: String,
27+
28+
override val data: E,
29+
30+
) : Event<E>

0 commit comments

Comments
 (0)