38 lines
1.0 KiB
Java
38 lines
1.0 KiB
Java
package SuMoC.backend.geocoding;
|
|
|
|
import lombok.Getter;
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.Setter;
|
|
|
|
@Setter
|
|
@Getter
|
|
@NoArgsConstructor
|
|
public class AddressDTO {
|
|
// Getters and setters
|
|
private String houseNumber;
|
|
private String road;
|
|
private String suburb;
|
|
private String cityDistrict;
|
|
private String city;
|
|
private String state;
|
|
private String iso3166_2_lvl4;
|
|
private String postcode;
|
|
private String country;
|
|
private String countryCode;
|
|
|
|
// Constructor with fields
|
|
public AddressDTO(String houseNumber, String road, String suburb, String cityDistrict, String city, String state, String iso3166_2_lvl4, String postcode, String country, String countryCode) {
|
|
this.houseNumber = houseNumber;
|
|
this.road = road;
|
|
this.suburb = suburb;
|
|
this.cityDistrict = cityDistrict;
|
|
this.city = city;
|
|
this.state = state;
|
|
this.iso3166_2_lvl4 = iso3166_2_lvl4;
|
|
this.postcode = postcode;
|
|
this.country = country;
|
|
this.countryCode = countryCode;
|
|
}
|
|
|
|
}
|