|  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 城市id | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private String cityCode; | 
|---|
|  |  |  | private Integer cityCode; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 时间 | 
|---|
|  |  |  | 
|---|
|  |  |  | return null; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public CityAqi() { | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public CityAqi(CityAqiDaily cityAqiDaily) { | 
|---|
|  |  |  | this.cityCode = cityAqiDaily.getCityCode(); | 
|---|
|  |  |  | this.value = cityAqiDaily.getValue(); | 
|---|
|  |  |  | this.time = cityAqiDaily.getTime(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public CityAqi(CityAqiMonthly cityAqiMonthly) { | 
|---|
|  |  |  | this.cityCode = cityAqiMonthly.getCityCode(); | 
|---|
|  |  |  | this.value = cityAqiMonthly.getValue(); | 
|---|
|  |  |  | this.time = cityAqiMonthly.getTime(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public CityAqi(CityAqiYearly cityAqiYearly) { | 
|---|
|  |  |  | this.cityCode = cityAqiYearly.getCityCode(); | 
|---|
|  |  |  | this.value = cityAqiYearly.getValue(); | 
|---|
|  |  |  | this.time = cityAqiYearly.getTime(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|