package com.zt.plat.module.qms.resource.device.controller.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 DeviceRepairApplyRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "26714")
    @ExcelProperty("ID")
    private Long id;

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

    @Schema(description = "使用地点")
    @ExcelProperty("使用地点")
    private String devicePosition;

    @Schema(description = "申请人", example = "赵六")
    @ExcelProperty("申请人")
    private String applyUserName;

    @Schema(description = "申请时间")
    @ExcelProperty("申请时间")
    private LocalDateTime applyTime;

    @Schema(description = "申请标题")
    @ExcelProperty("申请标题")
    private String title;

    @Schema(description = "审批状态", example = "2")
    @ExcelProperty("审批状态")
    private String flowStatus;

    @Schema(description = "流程实例id", example = "26349")
    @ExcelProperty("流程实例id")
    private String flowInstanceId;

    @Schema(description = "故障描述/故障现象")
    @ExcelProperty("故障描述/故障现象")
    private String faultDescription;

    @Schema(description = "处置意见")
    @ExcelProperty("处置意见")
    private String conclusion;

    @Schema(description = "是否维修")
    @ExcelProperty("是否维修")
    private String repairFlag;

    @Schema(description = "故障分析")
    @ExcelProperty("故障分析")
    private String repairAnalysis;

    @Schema(description = "处理方案")
    @ExcelProperty("处理方案")
    private String repairSolution;

    @Schema(description = "维修方式", example = "2")
    @ExcelProperty("维修方式")
    private String repairType;

    @Schema(description = "作废标识")
    @ExcelProperty("作废标识")
    private String cancelFlag;

    @Schema(description = "所属部门")
    @ExcelProperty("所属部门")
    private String systemDepartmentCode;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;

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

}