From f32e6bd3e882eeeac61ae92061c5f0a7202088a1 Mon Sep 17 00:00:00 2001 From: Richard Park Date: Sat, 20 Jul 2019 18:21:14 +0900 Subject: [PATCH] lombok is added --- .../java/com/totopia/server/user/controller/UserController.java | 1 - src/main/java/com/totopia/server/user/model/User.java | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/totopia/server/user/controller/UserController.java b/src/main/java/com/totopia/server/user/controller/UserController.java index e646580..5423b22 100644 --- a/src/main/java/com/totopia/server/user/controller/UserController.java +++ b/src/main/java/com/totopia/server/user/controller/UserController.java @@ -32,7 +32,6 @@ public class UserController { @GetMapping(value = "/users") public Page all(Pageable pageable) { return userRepository.findAll(pageable); - } @GetMapping(value = "/users/{userId}") diff --git a/src/main/java/com/totopia/server/user/model/User.java b/src/main/java/com/totopia/server/user/model/User.java index 2ac29c5..a0538cc 100644 --- a/src/main/java/com/totopia/server/user/model/User.java +++ b/src/main/java/com/totopia/server/user/model/User.java @@ -13,11 +13,13 @@ import javax.persistence.Table; import com.fasterxml.jackson.annotation.JsonIgnore; +import lombok.Builder; import lombok.Data; @Entity @Table(name = "USER") @Data +@Builder public class User implements Serializable { private static final long serialVersionUID = 2783105197387637187L;