From 2f55cebbad3dea187a5f91d16ec80a9677dab699 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 13 十一月 2024 11:16:53 +0800 Subject: [PATCH] 1 --- src/main/java/com/yssh/entity/Weather.java | 62 +++++++++++++++++++++++++++++++ 1 files changed, 62 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/yssh/entity/Weather.java b/src/main/java/com/yssh/entity/Weather.java new file mode 100644 index 0000000..9734806 --- /dev/null +++ b/src/main/java/com/yssh/entity/Weather.java @@ -0,0 +1,62 @@ +package com.yssh.entity; + +import lombok.Data; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +@Data +@ApiModel(value = "澶╂皵鏁版嵁",description = "澶╂皵鏁版嵁") +public class Weather { + @ApiModelProperty(value = "涓婚敭") + private int id; + @ApiModelProperty(value = "鏃堕棿") + private String time; + @ApiModelProperty(value = "椋庨��") + private String windSpeed; + @ApiModelProperty(value = "椋庡悜") + private String windDirection; + @ApiModelProperty(value = "澶╂皵鐘跺喌") + private String weatherCondition; + @ApiModelProperty(value = "姘旀俯") + private String temperature; + + public String getTime() { + return time; + } + + public void setTime(String time) { + this.time = time; + } + + public String getWindSpeed() { + return windSpeed; + } + + public void setWindSpeed(String windSpeed) { + this.windSpeed = windSpeed; + } + + public String getWindDirection() { + return windDirection; + } + + public void setWindDirection(String windDirection) { + this.windDirection = windDirection; + } + + public String getWeatherCondition() { + return weatherCondition; + } + + public void setWeatherCondition(String weatherCondition) { + this.weatherCondition = weatherCondition; + } + + public String getTemperature() { + return temperature; + } + + public void setTemperature(String temperature) { + this.temperature = temperature; + } +} -- Gitblit v1.9.3