package com.hdl.photovoltaic.ui.bean; import androidx.annotation.NonNull; import java.io.Serializable; /** * Created by Zoro * Created on 2023/5/5 * description: */ public class LongLatInfo implements Serializable { // 城市名 private String City; //国家 private String Country; //经度 private String Longitude; //纬度 private String Latitude; //时区 private String Timezone; public LongLatInfo() { } public LongLatInfo(String city, String country, String longitude, String latitude, String timezone) { City = city; Country = country; Longitude = longitude; Latitude = latitude; Timezone = timezone; } public String getCity() { return City == null ? "" : City; } public void setCity(@NonNull String city) { City = city; } public String getCountry() { return Country == null ? "" : Country; } public void setCountry(@NonNull String country) { Country = country; } public String getLongitude() { return Longitude == null ? "" : Longitude; } public void setLongitude(@NonNull String longitude) { Longitude = longitude; } public String getLatitude() { return Latitude == null ? "" : Latitude; } public void setLatitude(@NonNull String latitude) { Latitude = latitude; } public String getTimezone() { return Timezone == null ? "" : Timezone; } public void setTimezone(@NonNull String timezone) { Timezone = timezone; } }