lombok is added

This commit is contained in:
병준 박 2019-07-20 18:21:14 +09:00
parent 191a6f4e75
commit f32e6bd3e8
2 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,6 @@ public class UserController {
@GetMapping(value = "/users")
public Page<User> all(Pageable pageable) {
return userRepository.findAll(pageable);
}
@GetMapping(value = "/users/{userId}")

View File

@ -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;