package org.dromara.inspection.domain.vo;

import org.dromara.inspection.domain.OpsInspectionReport;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.personnel.domain.vo.OpsUserVo;
import org.dromara.system.api.domain.vo.RemoteUserVo;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 运维-巡检-报修视图对象 ops_inspection_report
 *
 * @author LionLi
 * @date 2025-09-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = OpsInspectionReport.class)
public class OpsInspectionReportVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *  id
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 项目ID(电站ID)
     */
    private Long projectId;

    /**
     * 1低优先2中优先3高优先
     */
    @ExcelProperty(value = "1低优先2中优先3高优先")
    private String level;

    /**
     * 1待处理2处理中3已完成
     */
    @ExcelProperty(value = "1待处理2处理中3已完成")
    private String status;

    /**
     * 报修类型1硬件2软件
     */
    @ExcelProperty(value = "报修类型1硬件2软件")
    private String type;

    /**
     * 报修名称
     */
    @ExcelProperty(value = "报修名称")
    private String name;

    /**
     * 指派维修人ID
     */
    @ExcelProperty(value = "指派维修人")
    private Long sendPerson;

    /**
     * 指派维修人
     */
    private RemoteUserVo sendPersonVo;

    /**
     * 详细信息
     */
    @ExcelProperty(value = "详细信息")
    private String reportInfo;

    /**
     * 故障位置
     */
    @ExcelProperty(value = "故障位置")
    private String position;

    /**
     * 文件ID
     */
    @ExcelProperty(value = "文件ID")
    private String fileId;

    /**
     * 文件路径
     */
    @ExcelProperty(value = "文件路径")
    private String fileUrl;

    /**
     * 报修人姓名
     */
    @ExcelProperty(value = "报修人姓名")
    private String reportName;

    /**
     * 报修人联系电话
     */
    @ExcelProperty(value = "报修人联系电话")
    private String reportPhone;

    @ExcelProperty(value = "维修结果")
    private String reportFinal;

    @ExcelProperty(value = "完成时间")
    private Date reportFinishTime;

    private Date createTime;

    private Long createBy;

}
