package cn.iocoder.yudao.module.pms.controller.admin.iotrddailyreport.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;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 瑞都日报 简报 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotRdDailyReportBriefRespVO {

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

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

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

    @Schema(description = "项目部名称", example = "西南压裂项目部")
    @ExcelProperty("项目部名称")
    private String projectDeptName;

    @Schema(description = "队伍名称", example = "压裂二队")
    @ExcelProperty("队伍名称")
    private String deptName;

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

    @Schema(description = "队伍名称", example = "HY-A1")
    @ExcelProperty("队伍名称")
    private String teamName;

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

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

    @Schema(description = "甲方")
    @ExcelProperty("甲方")
    private String manufactureName;

    @Schema(description = "井号")
    @ExcelProperty("井号")
    private String wellName;

    @Schema(description = "使用设备 设备编码-名称 多个逗号分隔")
    @ExcelProperty("使用设备")
    private String deviceNames;

    @Schema(description = "施工周期 天")
    @ExcelProperty("施工周期(D)")
    private String period;

    @Schema(description = "施工状态")
    private String rdStatus;

    @Schema(description = "施工状态")
    @ExcelProperty("施工状态")
    private String rdStatusLabel;

    @Schema(description = "施工工艺 多个逗号分隔")
    @ExcelProperty("施工工艺")
    private String techniques;

    @Schema(description = "施工简要")
    @ExcelProperty("施工简要")
    private String productionBrief;

    @Schema(description = "总工作量")
    @ExcelProperty("总工作量")
    private BigDecimal workloadDesign;

    @Schema(description = "已完成工作量")
    private BigDecimal finishedWorkload;

    @Schema(description = "任务创建时间")
    private LocalDateTime createTime;

    @Schema(description = "油耗L")
    @ExcelProperty("油耗L")
    private BigDecimal totalDailyFuel;

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

    @Schema(description = "工作量明细")
    private List<IotRdDailyReportStatisticsItemVO> items;

    // 汇总统计 工作量
    @Schema(description = "桥塞(个数)")
    @ExcelProperty("桥塞(个数)")
    private BigDecimal cumulativeBridgePlug;
    @Schema(description = "趟数")
    @ExcelProperty("趟数")
    private BigDecimal cumulativeRunCount;
    @Schema(description = "井数")
    @ExcelProperty("井数")
    private BigDecimal cumulativeWorkingWell;
    @Schema(description = "小时H")
    @ExcelProperty("小时H")
    private BigDecimal cumulativeHourCount;
    @Schema(description = "水方量(方)")
    @ExcelProperty("水方量(方)")
    private BigDecimal cumulativeWaterVolume;
    @Schema(description = "段数  累计施工-层")
    @ExcelProperty("段数")
    private BigDecimal cumulativeWorkingLayers;
    @Schema(description = "台次 当日仪表/混砂")
    private BigDecimal cumulativeMixSand;
    @Schema(description = "台次 当日泵车台次")
    private BigDecimal cumulativePumpTrips;

    @Schema(description = "台次 泵车台次 仪表/混砂")
    @ExcelProperty("台次")
    private BigDecimal taici;

    @Schema(description = "连油井数")
    @ExcelProperty("连油井数")
    private Integer lyWellCount;
    @Schema(description = "压裂井数")
    @ExcelProperty("压裂井数")
    private Integer ylWellCount;

    // 上一天 汇总统计 工作量
    @Schema(description = "桥塞(个数)")
    @ExcelProperty("桥塞(个数)")
    private BigDecimal yesterdayBridgePlug;
    @Schema(description = "趟数")
    @ExcelProperty("趟数")
    private BigDecimal yesterdayRunCount;
    @Schema(description = "井数")
    @ExcelProperty("井数")
    private BigDecimal yesterdayWorkingWell;
    @Schema(description = "小时H")
    @ExcelProperty("小时H")
    private BigDecimal yesterdayHourCount;
    @Schema(description = "水方量(方)")
    @ExcelProperty("水方量(方)")
    private BigDecimal yesterdayWaterVolume;
    @Schema(description = "段数  累计施工-层")
    @ExcelProperty("段数")
    private BigDecimal yesterdayWorkingLayers;
    @Schema(description = "台次 当日仪表/混砂")
    private BigDecimal yesterdayMixSand;
    @Schema(description = "台次 当日泵车台次")
    private BigDecimal yesterdayPumpTrips;
    @Schema(description = "油耗L")
    @ExcelProperty("油耗L")
    private BigDecimal yesterdayFuel;
    @Schema(description = "台次 泵车台次 仪表/混砂")
    @ExcelProperty("台次")
    private BigDecimal yesterdayTaici;
    @Schema(description = "施工状态")
    @ExcelProperty("施工状态")
    private String yesterdayStatus;
    @Schema(description = "生产动态")
    @ExcelProperty("生产动态")
    private String yesterdayProduct;
}