📄 weatherentity.java
字号:
package cn.com.domain;
import java.io.Serializable;
/**
* Mar 31, 2009
*@author shdxiahui@163.com
*/
public class WeatherEntity implements Serializable{
private static final long serialVersionUID = -3119011962455484331L;
private String id;
private String temperature;//气温
private String situation;//概况
private String wind;//风向和风力
private String beginGifPath;//天气趋势开始图片
private String endGifPath;//天气趋势结束图片
private String actually;//现在的天气实况
private String expand;//天气和生活指数
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getTemperature() {
return temperature;
}
public void setTemperature(String temperature) {
this.temperature = temperature;
}
public String getSituation() {
return situation;
}
public void setSituation(String situation) {
this.situation = situation;
}
public String getWind() {
return wind;
}
public void setWind(String wind) {
this.wind = wind;
}
public String getBeginGifPath() {
return beginGifPath;
}
public void setBeginGifPath(String beginGifPath) {
this.beginGifPath = beginGifPath;
}
public String getEndGifPath() {
return endGifPath;
}
public void setEndGifPath(String endGifPath) {
this.endGifPath = endGifPath;
}
public String getActually() {
return actually;
}
public void setActually(String actually) {
this.actually = actually;
}
public String getExpand() {
return expand;
}
public void setExpand(String expand) {
this.expand = expand;
}
@Override
public String toString() {
return "今日气温"+getTemperature()+"\n"+getSituation()+" "+getWind()+//
"<img src=weather/"+getBeginGifPath()+" alt='天气状况图'>"+"转变为"+//
"<img src=weather/"+getEndGifPath()+" alt='天气状况图'>"+"\n"+//
getActually()+"\n"+getExpand();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -