package com.rehome.mqttclienttemperature.dto;


import com.google.gson.annotations.SerializedName;
//import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

@Data
public class TemperatureDto implements Serializable {


    //@ApiModelProperty(value = "主键")
    private Long id;

    //@ApiModelProperty(value = "温度")
    private Double temperature;

    //@ApiModelProperty(value = "湿度")
    private Double humidity;

    //@ApiModelProperty(value = "日期")
    @SerializedName("data_date")
    private String dataDate;

    //@ApiModelProperty(value = "时")
    @SerializedName("data_hour")
    private String dataHour;

    //@ApiModelProperty(value = "分")
    @SerializedName("data_minute")
    private String dataMinute;

    //@ApiModelProperty(value = "主题")
    private String topic;

    //@ApiModelProperty(value = "位置描述")
    @SerializedName("location_desc")
    private String locationDesc;

    //@ApiModelProperty(value = "时间")
    @SerializedName("create_date")
    private Date createDate;

}