币安量化交易

21 lines
650 B

3 years ago
using AutoMapper;
using Binance.TradeRobot.Model.Db;
using Binance.TradeRobot.Model.Dto;
3 years ago
namespace Binance.TradeRobot.Model.Base
{
public class MappingProfiles : Profile
{
public MappingProfiles()
{
CreateMap<User, UserResponse>();
CreateMap<UserAccountFundChangeRecord, UserAccountFundChangeRecordResponse>();
CreateMap<AddExchangeAccountRequest, ExchangeAccount>();
CreateMap<AddExchangeAPIKeyRequest, ExchangeAPIKey>();
CreateMap<ExchangeAPIKey, ExchangeAPIKeyResponse>();
CreateMap<ExchangeAccount, ExchangeAccountResponse>();
}
3 years ago
}
}