package com.ruoyi.system.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 水位信息(WaterLevel)实体类
 *
 * @author makejava
 * @since 2024-04-19 16:45:33
 */
@Data
public class WaterLevelDTO implements Serializable {

    
    /**
     * 创建时间
     */
    @ExcelProperty(value = "时间",index = 0)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;

    /**
     * 水位平均值
     */
    @ExcelProperty(value = "平均水位",index = 1)
    private Double avgWaterlevel;

}

