package com.fuyuanshen.equipment.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import com.fuyuanshen.equipment.domain.DeviceRepairImages;
import com.fuyuanshen.equipment.domain.DeviceRepairRecords;
import com.fuyuanshen.equipment.enums.RepairImageType;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 设备维修图片视图对象 device_repair_records
 *
 * @author Lion Li
 * @date 2025-09-01
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = DeviceRepairImages.class)
public class DeviceRepairImagesVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 维修图片ID
     */
    @Schema(title = "维修图片ID")
    private Long imageId;
    /**
     * 维修记录ID
     */
    @Schema(title = "维修记录ID")
    private Long recordId;
    /**
     * 图片类型(维修前/维修后)
     */
    @Schema(title = "图片类型(维修前/维修后)")
    private RepairImageType imageType;
    /**
     * 图片存储路径
     */
    @Schema(title = "图片存储路径")
    private String imageUrl;
}
