package cn.iocoder.yudao.module.pms.controller.admin.iotrydailyreport.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 瑞鹰日报 汇总统计 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotRyDailyReportStatisticsRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13853")
    private Long id;

    @Schema(description = "项目部id", example = "125")
    private Long projectDeptId;

    @Schema(description = "队伍id", example = "125")
    private Long teamId;

    @Schema(description = "项目部名称", example = "新疆项目部")
    @ExcelProperty("项目部名称")
    private String projectDeptName;

    @Schema(description = "队伍名称", example = "小修20队")
    @ExcelProperty("队伍名称")
    private String teamName;

    @Schema(description = "任务id", example = "15678")
    private Long taskId;

    @Schema(description = "排序", example = "1")
    private Integer sort;

    @Schema(description = "部门类型(公司级1 项目部2 队伍3)", example = "1")
    private String type;

    @Schema(description = "累计进尺(m)")
    @ExcelProperty("累计进尺(m)")
    private BigDecimal cumulativeFootage = BigDecimal.ZERO;

    @Schema(description = "累计施工井数")
    @ExcelProperty("累计施工井数")
    private Integer cumulativeConstructWells = 0;

    @Schema(description = "累计完工井数")
    @ExcelProperty("累计完工井数")
    private Integer cumulativeCompletedWells = 0;

    @Schema(description = "累计用电量(kWh)")
    private BigDecimal cumulativePowerConsumption = BigDecimal.ZERO;

    @Schema(description = "累计用电量(MWh)")
    @ExcelProperty("累计用电量(MWh)")
    private BigDecimal cumulativePowerConsumptionExport = BigDecimal.ZERO;

    @Schema(description = "累计油耗(升)")
    @ExcelProperty("累计油耗(升)")
    private BigDecimal cumulativeFuelConsumption = BigDecimal.ZERO;

    @Schema(description = "平均油耗(升)")
    @ExcelProperty("平均油耗(升)")
    private BigDecimal averageFuelConsumption = BigDecimal.ZERO;

    @Schema(description = "运行时效")
    private BigDecimal transitTime = BigDecimal.ZERO;

    @Schema(description = "非生产时效")
    private BigDecimal nonProductiveTime = BigDecimal.ZERO;

    @Schema(description = "运行时效")
    @ExcelProperty("运行时效")
    private String transitTimePercent;

    @Schema(description = "非生产时效")
    @ExcelProperty("非生产时效")
    private String nonProductiveTimeStr;

    @Schema(description = "设备利用率")
    private BigDecimal utilizationRate;
}