package com.red.circle.wallet.infra.convertor;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.wallet.infra.database.rds.entity.bean.BeanBalance;
import com.red.circle.wallet.infra.database.rds.entity.diamond.DiamondBalance;
import com.red.circle.wallet.inner.model.dto.BeanBalanceDTO;
import com.red.circle.wallet.inner.model.dto.DiamondBalanceDTO;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2024/1/4
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface WalletMigrateInfraConvertor {

  DiamondBalance toDiamondBalance(DiamondBalanceDTO diamondBalanceDTO);

  BeanBalance toBeanBalance(BeanBalanceDTO beanBalanceDTO);
}
