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

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Collection;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 5#国日报分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotFiveDailyReportPageReqVO extends PageParam {

    @Schema(description = "施工队伍id", example = "15068")
    private Long deptId;

    @Schema(description = "日报名称", example = "王五")
    private String reportName;

    @Schema(description = "项目id", example = "30840")
    private Long projectId;

    @Schema(description = "项目名称", example = "李四")
    private String projectName;

    @Schema(description = "合同甲方")
    private String customer;

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

    @Schema(description = "井号", example = "李四")
    private String wellName;

    @Schema(description = "施工地点")
    private String location;

    @Schema(description = "项目类别(钻井 修井 注氮 酸化压裂... )")
    private String projectClassification;

    @Schema(description = "施工工艺([123,233])")
    private String techniqueIds;

    @Schema(description = "施工设备([123,233])")
    private String deviceIds;

    @Schema(description = "设备名称")
    private String deviceNames;

    @Schema(description = "时间节点-开始")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalTime[] startTime;

    @Schema(description = "时间节点-结束")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalTime[] endTime;

    @Schema(description = "主设备(泵车)数量")
    private BigDecimal mainDeviceNum;

    @Schema(description = "作业设备(泵车)数量")
    private BigDecimal wokDeviceNum;

    @Schema(description = "带班干部")
    private String responsiblePerson;

    @Schema(description = "当日加砂量(吨)")
    private BigDecimal dailySandVolume;

    @Schema(description = "当日主压层数(层)")
    private BigDecimal dailyWorkingLayers;

    @Schema(description = "当日注液量(m³)")
    private BigDecimal dailyLiquidVolume;

    @Schema(description = "当日作业井数(井)")
    private BigDecimal dailyWellVolume;

    @Schema(description = "当日油耗(吨)")
    private BigDecimal dailyFuel;

    @Schema(description = "单井工作量")
    private String singleWellWorkload;

    @Schema(description = "天气")
    private String weather;

    @Schema(description = "气温(℃)")
    private String temperature;

    @Schema(description = "当日用电量(kWh)")
    private BigDecimal dailyPowerUsage;

    @Schema(description = "生产时间(H)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private BigDecimal[] productionTime;

    @Schema(description = "非生产时间(H)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private BigDecimal[] nonProductionTime;

    @Schema(description = "非生产时间原因", example = "不香")
    private String nptReason;

    @Schema(description = "施工开始日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] constructionStartDate;

    @Schema(description = "施工结束日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] constructionEndDate;

    @Schema(description = "当日生产情况生产动态", example = "1")
    private String productionStatus;

    @Schema(description = "下步工作计划")
    private String nextPlan;

    @Schema(description = "施工简报")
    private String constructionBrief;

    @Schema(description = "施工状态(动迁上井/动迁下井/施工准备/施工...)", example = "2")
    private String fiveStatus;

    @Schema(description = "不同专业公司的扩展属性值")
    private String extProperty;

    @Schema(description = "排序值")
    private Integer sort;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "状态(2填写中 0待填写 1已完成)", example = "2")
    private Integer status;

    @Schema(description = "流程实例id", example = "187")
    private String processInstanceId;

    @Schema(description = "审批状态 未提交、审批中、审批通过、审批不通过、已取消", example = "1")
    private Integer auditStatus;

    @Schema(description = "审批意见")
    private String opinion;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "日报填写时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] fillTime;

    @Schema(description = "审批时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] approvalTime;

    @Schema(description = "事故非生产时间(工程质量)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private BigDecimal[] accidentTime;

    @Schema(description = "修理非生产时间(设备故障)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private BigDecimal[] repairTime;

    @Schema(description = "自停非生产时间(设备保养)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private BigDecimal[] selfStopTime;

    @Schema(description = "复杂非生产时间(技术受限)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private BigDecimal[] complexityTime;

    @Schema(description = "搬迁非生产时间(生产配合)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private BigDecimal[] relocationTime;

    @Schema(description = "整改非生产时间(生产组织)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private BigDecimal[] rectificationTime;

    @Schema(description = "等停非生产时间(不可抗力)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private BigDecimal[] waitingStopTime;

    @Schema(description = "冬休非生产时间(待命)T")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private BigDecimal[] winterBreakTime;

    @Schema(description = "甲方设计-非生产时间")
    private BigDecimal partyaDesign;

    @Schema(description = "甲方准备-非生产时间")
    private BigDecimal partyaPrepare;

    @Schema(description = "甲方资源-非生产时间")
    private BigDecimal partyaResource;

    @Schema(description = "其它非生产时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private BigDecimal[] otherNptTime;

    @Schema(description = "其它非生产时间原因", example = "不对")
    private String otherNptReason;

    @Schema(description = "非生产时效")
    private BigDecimal nptRate;

    @Schema(description = "部门id集合", example = "[123,223]")
    private Collection<Long> deptIds;

    /**
     * 扩展字段
     *
     */
    @Schema(description = "项目id集合", example = "测试")
    private Collection<Long> projectIds;

    @Schema(description = "任务id集合", example = "测试")
    private Collection<Long> taskIds;
}