Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. package annotations.naming;
  2.  
  3. import com.fasterxml.jackson.annotation.JsonProperty;
  4.  
  5. public class JsonProperty_Book {
  6.  
  7. @JsonProperty("BOOK-ID")
  8. private Long id;
  9.  
  10. @JsonProperty("BOOK-ISBN")
  11. private String isbn;
  12.  
  13. public JsonProperty_Book() {
  14.  
  15. }
  16.  
  17. public JsonProperty_Book(Long id, String isbn) {
  18. this.id = id;
  19. this.isbn = isbn;
  20. }
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement