File tree Expand file tree Collapse file tree 2 files changed +40
-4
lines changed
src/env/application/presenter/event/model Expand file tree Collapse file tree 2 files changed +40
-4
lines changed Original file line number Diff line number Diff line change 13
13
*/
14
14
public enum MedicalTechnologyTypePayload {
15
15
/** Endoscope. */
16
- ENDOSCOPE ,
16
+ ENDOSCOPE ( "endoscope" ) ,
17
17
/** X-Ray. */
18
- XRAY
18
+ XRAY ("xray" );
19
+
20
+ private final String name ;
21
+
22
+ /**
23
+ * Default constructor.
24
+ * @param name the name
25
+ */
26
+ MedicalTechnologyTypePayload (final String name ) {
27
+ this .name = name ;
28
+ }
29
+
30
+ /**
31
+ * Obtain the name of the type.
32
+ * @return the name
33
+ */
34
+ public String getName () {
35
+ return this .name ;
36
+ }
19
37
}
Original file line number Diff line number Diff line change 13
13
*/
14
14
public enum RoomTypePayload {
15
15
/** Operating room. */
16
- OPERATING_ROOM ,
16
+ OPERATING_ROOM ( "operatingRoom" ) ,
17
17
/** Pre operating room. */
18
- PRE_OPERATING_ROOM
18
+ PRE_OPERATING_ROOM ("preOperatingRoom" );
19
+
20
+ private final String name ;
21
+
22
+ /**
23
+ * Default constructor.
24
+ * @param name the name
25
+ */
26
+ RoomTypePayload (final String name ) {
27
+ this .name = name ;
28
+ }
29
+
30
+ /**
31
+ * Obtain the name of the type.
32
+ * @return the name
33
+ */
34
+ public String getName () {
35
+ return this .name ;
36
+ }
19
37
}
You can’t perform that action at this time.
0 commit comments