package com.fuyoul.sanwenseller.bean.pickerview;


import java.util.List;

public class ProvinceModel implements IPickerViewData {
    private String name;
    private List<CityModel> cityList;

    @Override
    public String getPickerViewText() {
        return name;
    }

    public ProvinceModel() {
        super();
    }

    public ProvinceModel(String name, List<CityModel> cityList) {
        super();
        this.name = name;
        this.cityList = cityList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<CityModel> getCityList() {
        return cityList;
    }

    public void setCityList(List<CityModel> cityList) {
        this.cityList = cityList;
    }

    @Override
    public String toString() {
        return "ProvinceModel [name=" + name + ", cityList=" + cityList + "]";
    }

}
