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

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 IotInspectOrderDetailRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "4075")
//    @ExcelProperty("主键id")
    private Long id;
    @ExcelProperty("工单名称")
    private String orderName;
    @ExcelProperty("历史编码")
    private String deviceCode;
    @ExcelProperty("设备名称")
    private String deviceName;
    @ExcelProperty("责任人")
    private String charge;
    @Schema(description = "工单id", requiredMode = Schema.RequiredMode.REQUIRED, example = "9096")
//    @ExcelProperty("工单id")
    private Long orderId;

    @Schema(description = "设备id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28723")
//    @ExcelProperty("设备id")
    private Long deviceId;

    @Schema(description = "巡检项id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14105")
//    @ExcelProperty("巡检项id")
    private Long itemId;
    @ExcelProperty("巡检项")
    private String item;

    @Schema(description = "是否正常", requiredMode = Schema.RequiredMode.REQUIRED)
//    @ExcelProperty("巡检结果")
    private Boolean ifNormal;

    @ExcelProperty("巡检结果")
    private String result;
    @Schema(description = "异常描述", example = "你猜")
    @ExcelProperty("异常描述")
    private String description;

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

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

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

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

}
