81 lines
1.5 KiB
Java
81 lines
1.5 KiB
Java
|
|
package com.utopiaindustries.hseobservationsapp.models;
|
|
|
|
import com.google.gson.annotations.Expose;
|
|
import com.google.gson.annotations.SerializedName;
|
|
|
|
public class LocationSite {
|
|
|
|
@SerializedName("id")
|
|
@Expose
|
|
private Integer id;
|
|
@SerializedName("title")
|
|
@Expose
|
|
private String title;
|
|
@SerializedName("shortTitle")
|
|
@Expose
|
|
private String shortTitle;
|
|
@SerializedName("address")
|
|
@Expose
|
|
private String address;
|
|
@SerializedName("hasColony")
|
|
@Expose
|
|
private Boolean hasColony;
|
|
@SerializedName("units")
|
|
@Expose
|
|
private Object units;
|
|
|
|
public Integer getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Integer id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public String getShortTitle() {
|
|
return shortTitle;
|
|
}
|
|
|
|
public void setShortTitle(String shortTitle) {
|
|
this.shortTitle = shortTitle;
|
|
}
|
|
|
|
public String getAddress() {
|
|
return address;
|
|
}
|
|
|
|
public void setAddress(String address) {
|
|
this.address = address;
|
|
}
|
|
|
|
public Boolean getHasColony() {
|
|
return hasColony;
|
|
}
|
|
|
|
public void setHasColony(Boolean hasColony) {
|
|
this.hasColony = hasColony;
|
|
}
|
|
|
|
public Object getUnits() {
|
|
return units;
|
|
}
|
|
|
|
public void setUnits(Object units) {
|
|
this.units = units;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return title;
|
|
}
|
|
}
|