using AutoMapper;
using DocumentOperator.Application.Common.DTOs;
using DocumentOperator.Domain.Models.ValueObjects;
using DocumentOperator.Domain.ValueObjects;

namespace DocumentOperator.Application.Common.Mapping;

/// <summary>
/// AutoMapper profile for mapping domain entities to DTOs
/// </summary>
public class MappingProfile : Profile
{
    public MappingProfile()
    {
        // PdfMetadata -> PdfValidationResult
        CreateMap<PdfMetadata, PdfValidationResult>();

        // SwissQrCodeData -> SwissQrCodeDataDto
        CreateMap<SwissQrCodeData, SwissQrCodeDataDto>();

        // AddressData -> AddressDataDto
        CreateMap<AddressData, AddressDataDto>();
    }
}
