package cn.iocoder.yudao.module.server.controller.admin.workorderInfos.vo;

import lombok.*;
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 java.util.List;

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

    @Schema(description = "工单分类ID", example = "30599")
    private Long categoryId;

    @Schema(description = "技术运维商ID", example = "28210")
    private Long techOperatorId;

    @Schema(description = "用户ID", example = "22662")
    private Long userId;

    @Schema(description = "需求描述")
    private String requirement;

    @Schema(description = "资料描述")
    private String requiredInfo;

    @Schema(description = "下单时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] orderTime;

    @Schema(description = "工单状态")
    private String status;

    @Schema(description = "创建人")
    private String creator;

    @Schema(description = "打回原因", example = "不对")
    private String rejectReason;

    @Schema(description = "查询类型")
    private String type;
    private String search;

    @Schema(description = "期望完成日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] expectedCompletionDate;

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

    @Schema(description = "上报附件")
    private String attachment;

}