package com.red.circle.order.app.convertor;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.order.infra.database.rds.entity.order.OrderOtherRecharge;
import com.red.circle.order.inner.model.dto.inapp.OrderOtherRechargeDTO;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2023/11/3
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface OrderOtherRechargeAppConvertor {

  OrderOtherRechargeDTO toOrderOtherRechargeDTO(OrderOtherRecharge recharge);

  OrderOtherRecharge toOrderOtherRecharge(OrderOtherRechargeDTO recharge);
}
