Advertisement
Guest User

Untitled

a guest
Feb 16th, 2020
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. package pl.FormulaF1.demo.payload;
  2.  
  3. import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
  4.  
  5. import javax.persistence.Embeddable;
  6.  
  7. @Embeddable
  8. @JsonIgnoreProperties(ignoreUnknown = true)
  9. public class Location {
  10.  
  11.  
  12. private String locality;
  13. private String country;
  14.  
  15.  
  16.  
  17. public String getLocality() {
  18. return locality;
  19. }
  20.  
  21. public void setLocality(String locality) {
  22. this.locality = locality;
  23. }
  24.  
  25. public String getCountry() {
  26. return country;
  27. }
  28.  
  29. public void setCountry(String country) {
  30. this.country = country;
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement