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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

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 IotProjectTaskPageReqVO extends PageParam {

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

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

    @Schema(description = "平台井标识 2非平台井 1平台井 0默认值", example = "2")
    private Integer platformWell;

    @Schema(description = "平台井组", example = "982oierwweo9823")
    private String platformGroup;

    @Schema(description = "井号", example = "赵六")
    private String wellName;

    @Schema(description = "井型", example = "2")
    private String wellType;

    @Schema(description = "井别", example = "2")
    private String wellCategory;

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

    @Schema(description = "施工设备")
    private String deviceIds;

    @Schema(description = "施工工艺")
    private String technique;

    @Schema(description = "设计工作量")
    private String workloadDesign;

    @Schema(description = "责任人([123,234])")
    private String responsiblePerson;

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

    @Schema(description = "状态", example = "1")
    private String status;

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

    @Schema(description = "用户名", example = "赵六")
    private String userName;

    @Schema(description = "用户id", example = "25471")
    private Long userId;

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

    @Schema(description = "施工队伍集合")
    private Set<Long> deptIds;

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

    @Schema(description = "客户名称")
    private String manufactureName;

    @Schema(description = "合同名称", example = "王五")
    private String contractName;

    @Schema(description = "合同编号")
    private String contractCode;

    /**
     * 扩展字段
     */
    @Schema(description = "任务id集合")
    private List<Long> taskIds;

    @Schema(description = "搜索关键字")
    private String searchKey;

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

    @Schema(description = "定时任务标识 Y")
    private String jobFlag;

    @Schema(description = "platformGroup 集合")
    private List<String> platformGroups;

    @Schema(description = "平台井标识 Y N")
    private String platformFlag;

    @Schema(description = "部门名称 模糊搜索")
    private String deptName;

    @Schema(description = "日报日期 yyyy-MM-dd")
    private LocalDateTime reportDate;

}