/*
 * 文 件 名:  WaterConsumptionVO
 * 版    权:  华设设计集团股份有限公司
 * 描    述:  <描述>
 * 修 改 人:  lvwenbin
 * 修改时间:  2025/8/27
 * 跟踪单号:  <跟踪单号>
 * 修改单号:  <修改单号>
 * 修改内容:  <修改内容>
 */

package com.ruoyi.ems.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huashe.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用水统计响应模型
 */
/**
 * 用水统计视图对象
 */
@ApiModel("用水统计响应模型")
public class WaterConsumptionVO {

    @ApiModelProperty("区域代码")
    private String areaCode;

    @ApiModelProperty("区域名称")
    private String areaName;

    @ApiModelProperty("对象代码")
    private String objCode;

    @ApiModelProperty("对象名称")
    @Excel(name = "对象名称")
    private String objName;

    @ApiModelProperty("对象类型 1-区域 2-设施")
    private Integer objType;

    @ApiModelProperty("统计日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date statisticDate;

    @ApiModelProperty("统计年份")
    private String statisticYear;

    @ApiModelProperty("统计月份")
    private String statisticMonth;

    @ApiModelProperty("统计时间维度 DAY-日 MONTH-月 YEAR-年")
    private String timeDimension;

    @ApiModelProperty("总用水量(m³)")
    @Excel(name = "总用水量(m³)")
    private BigDecimal totalWaterQuantity;

    @ApiModelProperty("总用水费用(元)")
    @Excel(name = "总用水费用(元)")
    private BigDecimal totalWaterCost;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    // 构造方法
    public WaterConsumptionVO() {}

    // Getters and Setters
    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getObjCode() {
        return objCode;
    }

    public void setObjCode(String objCode) {
        this.objCode = objCode;
    }

    public String getObjName() {
        return objName;
    }

    public void setObjName(String objName) {
        this.objName = objName;
    }

    public Integer getObjType() {
        return objType;
    }

    public void setObjType(Integer objType) {
        this.objType = objType;
    }

    public Date getStatisticDate() {
        return statisticDate;
    }

    public void setStatisticDate(Date statisticDate) {
        this.statisticDate = statisticDate;
    }

    public String getStatisticYear() {
        return statisticYear;
    }

    public void setStatisticYear(String statisticYear) {
        this.statisticYear = statisticYear;
    }

    public String getStatisticMonth() {
        return statisticMonth;
    }

    public void setStatisticMonth(String statisticMonth) {
        this.statisticMonth = statisticMonth;
    }

    public String getTimeDimension() {
        return timeDimension;
    }

    public void setTimeDimension(String timeDimension) {
        this.timeDimension = timeDimension;
    }

    public BigDecimal getTotalWaterQuantity() {
        return totalWaterQuantity;
    }

    public void setTotalWaterQuantity(BigDecimal totalWaterQuantity) {
        this.totalWaterQuantity = totalWaterQuantity;
    }

    public BigDecimal getTotalWaterCost() {
        return totalWaterCost;
    }

    public void setTotalWaterCost(BigDecimal totalWaterCost) {
        this.totalWaterCost = totalWaterCost;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "WaterConsumptionVO{" +
            "areaCode='" + areaCode + '\'' +
            ", areaName='" + areaName + '\'' +
            ", objCode='" + objCode + '\'' +
            ", objName='" + objName + '\'' +
            ", objType=" + objType +
            ", statisticDate=" + statisticDate +
            ", statisticYear='" + statisticYear + '\'' +
            ", statisticMonth='" + statisticMonth + '\'' +
            ", timeDimension='" + timeDimension + '\'' +
            ", totalWaterQuantity=" + totalWaterQuantity +
            ", totalWaterCost=" + totalWaterCost +
            ", createTime=" + createTime +
            '}';
    }
}