--- /dev/null
+package de.juplo.kafka.chat.backend.implementation.kafka.messages.data;
+
+
+import lombok.Getter;
+import lombok.RequiredArgsConstructor;
+
+
+@RequiredArgsConstructor
+public class AbstractDataMessageTo
+{
+ public enum ToType {
+ COMMAND_CREATE_CHATROOM,
+ EVENT_CHATMESSAGE_RECEIVED,
+ }
+
+ @Getter
+ private final ToType type;
+}
+++ /dev/null
-package de.juplo.kafka.chat.backend.implementation.kafka.messages.data;
-
-
-import lombok.Getter;
-import lombok.RequiredArgsConstructor;
-
-
-@RequiredArgsConstructor
-public class AbstractDataMessageTo
-{
- public enum ToType {
- COMMAND_CREATE_CHATROOM,
- EVENT_CHATMESSAGE_RECEIVED,
- }
-
- @Getter
- private final ToType type;
-}
+++ /dev/null
-package de.juplo.kafka.chat.backend.implementation.kafka.messages.info;
-
-
-import lombok.Getter;
-import lombok.RequiredArgsConstructor;
-
-
-@RequiredArgsConstructor
-public class AbstractInfoMessageTo
-{
- public enum ToType {
- EVENT_CHATROOM_CREATED,
- }
-
- @Getter
- private final ToType type;
-}