package com.example.cosmosclient.entities;
public class Feature {
private String genre;
private int code;
private CosmosLocation location = new CosmosLocation();
public void setLatitude(double latitude) {
location.setLatitude(latitude);
}
public void setLongitude(double longitude) {
location.setLongitude(longitude);
}
public String getGenre() {
return genre;
}
public void setGenre(String genre) {
this.genre = genre;
}
public void setCode(int code){
this.code = code;
}
public int getCode(){
return this.code;
}
public void setLocation(CosmosLocation location){
this.location = location;
}
public CosmosLocation getLocation(){
return this.location;
}
}