package cn.iocoder.yudao.module.pms.controller.admin.inspect.order.vo;

import cn.iocoder.yudao.module.pms.controller.admin.inspect.order.IotInspectOrderController;
import cn.iocoder.yudao.module.pms.dal.dataobject.inspect.IotInspectOrderDetailDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 巡检工单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotInspectOrderRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30405")
    @ExcelProperty("主键id")
    private Long id;

    @Schema(description = "巡检工单名", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("巡检工单名")
    private String inspectOrderTitle;

    @Schema(description = "巡检工单编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("巡检工单编码")
    private String inspectOrderCode;

    @Schema(description = "巡检工单状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("巡检工单状态")
    private String status;

    private String orderStatus;

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

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

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

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

    private String planCode;
    @ExcelProperty("负责人")
    private String chargeName;
    private String type;

    private Long deviceCount;
    private Long exceptionCount;
    private Integer needDevice;
    private LocalDateTime executeDate;
    private String deviceInfo;
    private List<IotInspectOrderController.OrderDetail> details;

    private String company;
    private String project;
    @ExcelProperty("部门id")
    private String deptName;
    private String reason;
}
