From f9711f81677916996ac9c118ca18ad97c29d7c83 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 12 Jul 2020 14:23:45 +0200 Subject: [PATCH] WIP --- pom.xml | 4 ++++ src/main/java/de/trion/kafka/outbox/User.java | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/pom.xml b/pom.xml index 87706cd..e55601f 100644 --- a/pom.xml +++ b/pom.xml @@ -41,6 +41,10 @@ spring-boot-starter-json + + org.projectlombok + lombok + org.apache.kafka kafka-clients diff --git a/src/main/java/de/trion/kafka/outbox/User.java b/src/main/java/de/trion/kafka/outbox/User.java index ffb29bf..f4d1c8c 100644 --- a/src/main/java/de/trion/kafka/outbox/User.java +++ b/src/main/java/de/trion/kafka/outbox/User.java @@ -1,5 +1,6 @@ package de.trion.kafka.outbox; +import lombok.*; import org.springframework.data.annotation.Id; import java.time.LocalDateTime; @@ -7,8 +8,14 @@ import java.time.LocalDateTime; public class User { @Id Long id; + @Getter + @Setter String username; + @Getter + @Setter LocalDateTime created; + @Getter + @Setter boolean loggedIn; public User(String username, LocalDateTime created, boolean loggedIn) { -- 2.20.1