--- /dev/null
+package de.juplo.kafka.chat.backend.implementation.kafka.messages.data;
+
+import lombok.*;
+
+
+@Getter
+@Setter
+@EqualsAndHashCode
+@ToString
+public class CommandCreateChatRoomToData extends AbstractDataMessageTo
+{
+ private String name;
+
+
+ public CommandCreateChatRoomToData()
+ {
+ super(ToType.COMMAND_CREATE_CHATROOM);
+ }
+
+
+ public static CommandCreateChatRoomToData of(String name)
+ {
+ CommandCreateChatRoomToData to = new CommandCreateChatRoomToData();
+ to.name = name;
+ return to;
+ }
+}
+++ /dev/null
-package de.juplo.kafka.chat.backend.implementation.kafka.messages.data;
-
-import lombok.*;
-
-
-@Getter
-@Setter
-@EqualsAndHashCode
-@ToString
-public class CommandCreateChatRoomToData extends AbstractDataMessageTo
-{
- private String name;
-
-
- public CommandCreateChatRoomToData()
- {
- super(ToType.COMMAND_CREATE_CHATROOM);
- }
-
-
- public static CommandCreateChatRoomToData of(String name)
- {
- CommandCreateChatRoomToData to = new CommandCreateChatRoomToData();
- to.name = name;
- return to;
- }
-}
+++ /dev/null
-package de.juplo.kafka.chat.backend.implementation.kafka.messages.data;
-
-import lombok.*;
-
-
-@Getter
-@Setter
-@EqualsAndHashCode
-@ToString
-public class EventChatDataMessageReceivedTo extends AbstractDataMessageTo
-{
- private String user;
- private Long id;
- private String text;
-
-
- public EventChatDataMessageReceivedTo()
- {
- super(ToType.EVENT_CHATMESSAGE_RECEIVED);
- }
-
-
- public static EventChatDataMessageReceivedTo of(String user, Long id, String text)
- {
- EventChatDataMessageReceivedTo to = new EventChatDataMessageReceivedTo();
- to.user = user;
- to.id = id;
- to.text = text;
- return to;
- }
-}
--- /dev/null
+package de.juplo.kafka.chat.backend.implementation.kafka.messages.data;
+
+import lombok.*;
+
+
+@Getter
+@Setter
+@EqualsAndHashCode
+@ToString
+public class EventChatDataMessageReceivedTo extends AbstractDataMessageTo
+{
+ private String user;
+ private Long id;
+ private String text;
+
+
+ public EventChatDataMessageReceivedTo()
+ {
+ super(ToType.EVENT_CHATMESSAGE_RECEIVED);
+ }
+
+
+ public static EventChatDataMessageReceivedTo of(String user, Long id, String text)
+ {
+ EventChatDataMessageReceivedTo to = new EventChatDataMessageReceivedTo();
+ to.user = user;
+ to.id = id;
+ to.text = text;
+ return to;
+ }
+}