title: Spring Boot @RequestBody does not copy parameters fully
body: <p>I have a JSON object that I pass to an API endpoint:</p>
  
  <pre><code>{
      "ID": 12312,
      "location": "London",
      "friends": 1231,
      "Name": "dsd",
      "verified": true
  
  }
  </code></pre>
  
  <p>I have an endpoint <code>UserController</code>:</p>
  
  <pre><code>@PostMapping("saveUser")
  public String Save(@RequestBody(required = true) User newUser){
      //TODO: User needs to have ID and all other necessary params
      //TODO: RequestBody is not working. Why not?
  
      userservice.saveNewUser(newUser);
      return "True";
  }
  </code></pre>
  
  <p>and I have a <code>User</code> class:</p>
  
  <pre><code>@NodeEntity
  public class User {
  
      @Id
      private long ID;
      private String Name;
      private String location;
      private int friends;
      private boolean verified;
      private int followers; 
      .... getters and setters
  </code></pre>
  
  <p>My problem: when I insert a user, the database registers the correct friends and location filed, but the ID and followers field and name are incorrect. Does anyone know why?<a href="https://i.stack.imgur.com/gJ2sd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gJ2sd.png" alt="wrong parameters parsed"></a></p>