zhengyiming
2025-06-09 9a7e2f2a8c0017f9445e9281bb5f574596dbe61c
LifePayment/LifePayment.Application/LifePaymentServicesApplicationModuleAutoMapperProfile.cs
@@ -1,6 +1,9 @@
using AutoMapper;
using LifePayment.Application.Contracts;
using LifePayment.Application.Contracts.Sync;
using LifePayment.Domain;
using LifePayment.Domain.LifePay;
using LifePayment.Domain.Models;
namespace LifePayment.Application
{
@@ -8,7 +11,32 @@
    {
        public LifePaymentServicesApplicationModuleAutoMapperProfile()
        {
            #region lifepay
            CreateMap<CreateLifePayOrderInput, LifePayOrder>(MemberList.None);
            CreateMap<CreateEditPayChannelsInput, LifePayChannles>(MemberList.None);
            CreateMap<CreateBackClientUserInput, CreateAccountInput>(MemberList.None);
            #endregion
            CreateMap<SyncIdentityUser, SyncIdentityUser>(MemberList.None);
            CreateMap<SyncUser, SyncUser>(MemberList.None);
            CreateMap<SyncLifePayChannles, SyncLifePayChannles>(MemberList.None);
            CreateMap<SyncLifePayUser, SyncLifePayUser>(MemberList.None);
            CreateMap<SyncLifePayOrder, SyncLifePayOrder>(MemberList.None);
            CreateMap<SyncLifePayChannlesRake, SyncLifePayChannlesRake>(MemberList.None);
            CreateMap<SyncLifePayConsumption, SyncLifePayConsumption>(MemberList.None);
            CreateMap<SyncLifePayExpensesReceipts, SyncLifePayExpensesReceipts>(MemberList.None);
            CreateMap<LifePayPromoter, PromoterDto>(MemberList.None);
            CreateMap<CreateOrUpdatePromoterInput, LifePayPromoter>(MemberList.None);
            CreateMap<LifePayChannelConsultation, ChannelConsultationDto>(MemberList.None);
            CreateMap<CreateChannelConsultationInput, LifePayChannelConsultation>(MemberList.None);
            CreateMap<CreateChannelConsultationFollowupInput, LifePayChannelConsultationFollowup>(MemberList.None);
        }
    }
}