Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package pl.FormulaF1.demo.payload;
- import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
- import javax.persistence.Embeddable;
- @Embeddable
- @JsonIgnoreProperties(ignoreUnknown = true)
- public class Location {
- private String locality;
- private String country;
- public String getLocality() {
- return locality;
- }
- public void setLocality(String locality) {
- this.locality = locality;
- }
- public String getCountry() {
- return country;
- }
- public void setCountry(String country) {
- this.country = country;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement