package com.cheng.mvcframestudy.diymvc.model.bean; /** * 天气实体类 */ public class WeatherBean { private WeatherInfo weatherinfo; public WeatherInfo getWeatherinfo() { if (weatherinfo == null) weatherinfo = new WeatherInfo(); return weatherinfo; } public void setWeatherinfo(WeatherInfo weatherinfo) { this.weatherinfo = weatherinfo; } public class WeatherInfo { private String city; private String cityid; private String temp; private String WD; private String WS; private String SD; private String WSE; private String time; private String njd; public String getCity() { return city; } public void setCity(String city) { this.city = city; } public String getCityid() { return cityid; } public void setCityid(String cityid) { this.cityid = cityid; } public String getTemp() { return temp; } public void setTemp(String temp) { this.temp = temp; } public String getWD() { return WD; } public void setWD(String WD) { this.WD = WD; } public String getWS() { return WS; } public void setWS(String WS) { this.WS = WS; } public String getSD() { return SD; } public void setSD(String SD) { this.SD = SD; } public String getWSE() { return WSE; } public void setWSE(String WSE) { this.WSE = WSE; } public String getTime() { return time; } public void setTime(String time) { this.time = time; } public String getNjd() { return njd; } public void setNjd(String njd) { this.njd = njd; } } }