--- /dev/null
+package de.juplo.kafka.payment.transfer;
+
+import lombok.Builder;
+import lombok.Data;
+
+import javax.validation.constraints.NotNull;
+import java.util.UUID;
+
+
+/**
+ * Simple DTO used by the REST interface
+ */
+@Data
+@Builder
+public class Transfer
+{
+ @NotNull(message = "Cannot be null")
+ private UUID id;
+ @NotNull(message = "Cannot be null")
+ private long payer;
+ @NotNull(message = "Cannot be null")
+ private long payee;
+ @NotNull(message = "Cannot be null")
+ private int amount;
+}