Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package annotations.naming;
- import com.fasterxml.jackson.annotation.JsonProperty;
- public class JsonProperty_Book {
- @JsonProperty("BOOK-ID")
- private Long id;
- @JsonProperty("BOOK-ISBN")
- private String isbn;
- public JsonProperty_Book() {
- }
- public JsonProperty_Book(Long id, String isbn) {
- this.id = id;
- this.isbn = isbn;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement