package com.hdl.photovoltaic.ui.bean;
|
|
import androidx.annotation.NonNull;
|
|
import java.io.Serializable;
|
import java.util.ArrayList;
|
import java.util.List;
|
|
/**
|
* Created by Zoro
|
* Created on 2023/5/5
|
* description:
|
*/
|
public class LongLatListInfo implements Serializable {
|
private String Country;//国家
|
private List<LongLatInfo> children = new ArrayList<>();
|
|
public LongLatListInfo() {
|
}
|
|
public LongLatListInfo(String country, List<LongLatInfo> children) {
|
Country = country;
|
this.children = children;
|
}
|
|
public LongLatListInfo(String country) {
|
Country = country;
|
}
|
|
public String getCountry() {
|
return Country == null ? "" : Country;
|
}
|
|
public void setCountry(@NonNull String country) {
|
Country = country;
|
}
|
|
public List<LongLatInfo> getChildren() {
|
if (children == null) {
|
return children = new ArrayList<>();
|
}
|
return children;
|
}
|
|
public void setChildren(@NonNull List<LongLatInfo> children) {
|
this.children = children;
|
}
|
}
|