package com.fuyuanshen.equipment.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**天气信息视图对象
 * @author: 默苍璃
 * @date: 2025-09-2715:25
 */
@Data
@Schema(description = "天气信息视图对象")
public class WeatherInfoVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 经度
     */
    @Schema(description = "经度")
    private Double longitude;

    /**
     * 纬度
     */
    @Schema(description = "纬度")
    private Double latitude;

    /**
     * 天气状况
     */
    @Schema(description = "天气状况")
    private String weatherCondition;

    /**
     * 天气描述
     */
    @Schema(description = "天气描述")
    private String description;

    /**
     * 温度
     */
    @Schema(description = "温度(摄氏度)")
    private Double temperature;

    /**
     * 体感温度
     */
    @Schema(description = "体感温度(摄氏度)")
    private Double feelsLike;

    /**
     * 湿度
     */
    @Schema(description = "湿度(%)")
    private Integer humidity;

    /**
     * 气压
     */
    @Schema(description = "气压(hPa)")
    private Double pressure;

    /**
     * 能见度
     */
    @Schema(description = "能见度(米)")
    private Integer visibility;

    /**
     * 风速
     */
    @Schema(description = "风速(m/s)")
    private Double windSpeed;

    /**
     * 风向
     */
    @Schema(description = "风向(度)")
    private Integer windDirection;

    /**
     * 云量
     */
    @Schema(description = "云量(%)")
    private Integer cloudiness;

    /**
     * 更新时间
     */
    @Schema(description = "数据更新时间")
    private LocalDateTime updateTime;
}
