package org.springblade.file.convert;

import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;
import org.mapstruct.ReportingPolicy;
import org.springblade.file.pojo.dto.FileCertificateBatchRecognitionDTO;
import org.springblade.thirdparty.ocr.pojo.dto.CertificateBatchRecognitionDTO;

/**
 * @author bfhuange
 * @since 2025/3/13
 */
@Mapper(componentModel = MappingConstants.ComponentModel.SPRING, unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface OCRConverter {

    CertificateBatchRecognitionDTO dto2ocr(FileCertificateBatchRecognitionDTO dto);
}
