package cn.iocoder.yudao.module.pms.controller.admin.iotprojecttaskplan.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.util.Collection;

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

@Schema(description = "管理后台 - 日报任务计划(工作量)分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotProjectTaskPlanPageReqVO extends PageParam {

    @Schema(description = "部门id", example = "29794")
    private Long deptId;

    @Schema(description = "公司id", example = "13586")
    private Long companyId;

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

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

    @Schema(description = "项目业务(注气/钻井/修井/压裂/连油/井下)")
    private String business;

    @Schema(description = "施工状态(工作量开始/动迁/准备/施工)", example = "2")
    private String status;

    @Schema(description = "施工阶段描述", example = "随便")
    private String description;

    @Schema(description = "状态起始时间(计划)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startTime;

    @Schema(description = "状态结束时间(计划)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] endTime;

    @Schema(description = "计划注气量(万方)")
    private BigDecimal planGasInjection;

    @Schema(description = "计划进尺(m)")
    private BigDecimal planFootage;

    @Schema(description = "计划井次(井)")
    private BigDecimal planWellTrips;

    @Schema(description = "计划层数(层)")
    private BigDecimal planLayers;

    @Schema(description = "工作量单位(井/层/方/m)")
    private String workloadUnit;

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

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

    /**
     * 扩展属性
     */
    @Schema(description = "部门id集合", example = "15952")
    private Collection<Long> deptIds;
}