erp-platform/api/src/Kurs.Platform.Application/Orders/OrderAutoMapperProfile.cs

16 lines
411 B
C#
Raw Normal View History

2025-08-11 06:34:44 +00:00
using AutoMapper;
using Kurs.Platform.Entities;
namespace Kurs.Platform.Orders;
public class OrderApplicationAutoMapperProfile : Profile
{
public OrderApplicationAutoMapperProfile()
{
CreateMap<Product, ProductDto>().ReverseMap();
CreateMap<PaymentMethod, PaymentMethodDto>();
CreateMap<InstallmentOption, InstallmentOptionDto>();
CreateMap<Order, OrderDto>();
}
}