zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Application/AutoMapper/BuyersProfile.cs
2023-12-05 17:22:48 +08:00

16 lines
428 B
C#

using AutoMapper;
using ZeroFramework.DeviceCenter.Application.Models.Ordering;
using ZeroFramework.DeviceCenter.Domain.Aggregates.OrderAggregate;
namespace ZeroFramework.DeviceCenter.Application.AutoMapper
{
public class BuyersProfile : Profile
{
public BuyersProfile()
{
CreateMap<OrderCreateRequestModel, Order>();
CreateMap<IEnumerable<Order>, Order>();
}
}
}