lombok is added
This commit is contained in:
parent
191a6f4e75
commit
f32e6bd3e8
|
@ -32,7 +32,6 @@ public class UserController {
|
|||
@GetMapping(value = "/users")
|
||||
public Page<User> all(Pageable pageable) {
|
||||
return userRepository.findAll(pageable);
|
||||
|
||||
}
|
||||
|
||||
@GetMapping(value = "/users/{userId}")
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user