﻿using AutoMapper;
using SentinalPOS.Application.Features.Documents.Commands.AddEdit;
using SentinalPOS.Application.Features.Documents.Queries.GetById;
using SentinalPOS.Domain.Entities.Misc;

namespace SentinalPOS.Application.Mappings
{
    public class DocumentProfile : Profile
    {
        public DocumentProfile()
        {
            CreateMap<AddEditDocumentCommand, Document>().ReverseMap();
            CreateMap<GetDocumentByIdResponse, Document>().ReverseMap();
        }
    }
}