/**
 * Copyright 2019 DH
 * All right reserved.
 * 项目名称: 运维系统
 * 创建日期:2022/8/30
 */
package org.springblade.modules.business.monitor.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.modules.business.monitor.entity.WaterFlowRateHistoryInfoEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/***
 * Date:2022/8/30
 * Title:文件所属模块（必须填写）
 * Description：对本文件的详细描述，原则上不能少于30字
 * @author dylan
 * @version 1.0
 * Remark：认为有必要的其他信息
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class WaterFlowRateHistoryInfoDTO extends WaterFlowRateHistoryInfoEntity {
    @ApiModelProperty("开始时间")
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date beginTime;

    @ApiModelProperty("结束时间")
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date endTime;

    /**
     * 机构ID
     */
    @ApiModelProperty("机构ID")
    private Long orgId;

    /**
     * 取用水户代码
     */
    @ApiModelProperty(value = "取用水户代码")
    private String wiuCd;

    @ApiModelProperty("统计时间")
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date countTime;

}
