package com.weather.modules.weather.dailydata.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 每日气象监测数据表
 *
 * @author 2333 123
 * @since 1.0.0 2026-03-05
 */
@Data
@Schema(name = "每日气象监测数据")
public class WeatherDailyDataQueryDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "区站号")
	private List<Long> stationIds;

	@SchemaProperty(name = "站名")
	private String stationName;

	@SchemaProperty(name = "开始时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date startDate;

	@SchemaProperty(name = "结束时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date endtDate;

	@SchemaProperty(name = "时间跨度")
	private Integer spanTime;



}
