wjc
2025-05-12 1dd74507e6e80abf235c1ea6c33bdda0987510af
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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;
    }
}