package com.qiuguo.iot.data.resp.third.weather;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
/**
 * 全天地表 10 米风速
 */
public class Wind {
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm", timezone = "GMT+8")
    private Date datetime;
    /**
     * 风速
     */
    private Double speed;

    /**
     * 风向
     */
    private Double direction;

    private WindSpeed max;
    private WindSpeed min;

    /**
     * 平均
     */
    private WindSpeed avg;
}