package cn.iocoder.yudao.module.pms.controller.admin.inspect.order.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 IotInspectOrderDetailPageReqVO extends PageParam {

    @Schema(description = "工单id", example = "9096")
    private Long orderId;

    @Schema(description = "设备id", example = "28723")
    private Long deviceId;

    @Schema(description = "巡检项id", example = "14105")
    private Long itemId;

    @Schema(description = "是否正常")
    private Boolean ifNormal;

    @Schema(description = "异常描述", example = "你猜")
    private String description;

    @Schema(description = "图片", example = "https://www.iocoder.cn")
    private String picUrl;

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

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

    @Schema(description = "部门id", example = "26288")
    private Long deptId;
    private Set<Long> deptIds;

    private String status;

    private String deviceCode;

    private String deviceName;
    private String orderName;
}
