title: null response body from entity annotated with @Data with lombok springboot
body: <p>I have an entity annotated with @Data of lombok and I also have a simple controller. It returns an empty JSON data when I use @Data and it returns list of data when I remove @Data by explicitely using setters and getters without lombok.</p>
  
  <p>How can I also call setters and getters when I use @Data expcilitely?
  I am just using constructor to avoid this issue but sooner or later, I need to change values as most fields are mutable.</p>
  
  <p>Is there a real solution for this problem?
  I have checked some but still don't see solutions.</p>