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;

/**
 * 测流成果上报(TaskResult)实体类
 *
 * @author makejava
 * @since 2024-04-23 11:16:49
 */
@Data
public class TaskResultSortDTO implements Serializable {
    /**
     * 成果ID
     */
    @ExcelProperty(value = "成果ID",index = 0)
    private Long resultId;

    /**
     * 站点ID
     */
    private Long siteId;

    /**
     * 任务编号
     */
    private String taskid;

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

    /**
     * 总瞬时流量
     */
    @ExcelProperty(value = "瞬时总流量",index = 2)
    private Double flowsum;

    /**
     * 水位
     */
    @ExcelProperty(value = "水位",index = 3)
    private Double waterlevel;

}

