package com.its.op.dto.its.common;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 *  DTO Class
 */
@Data
@Builder
@ApiModel("WeatherInfoDto(기상 정보)")
public class WeatherInfoDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("제공시각")  // Y VARCHAR(4)
    @JsonProperty("announce_date")
    private String announcdDate;

    @ApiModelProperty("기상발효코드")  // Y VARCHAR(100)
    @JsonProperty("announce_time_code")
    private String announceTimeCode;

    @ApiModelProperty("온도")  // Y VARCHAR(256)
    @JsonProperty("temperature")
    private String temperature;

    @ApiModelProperty("날씨코드")  // Y VARCHAR(32)
    @JsonProperty("weather_code")
    private String weatherCode;

    @ApiModelProperty("최저온도")  // Y VARCHAR(1)
    @JsonProperty("min_temperature")
    private String minTemperature;

    @ApiModelProperty("최고온도")
    @JsonProperty("max_temperature")
    private String maxTemperature;

}
