package com.seer.teach.pay.app.pay.convert;


import com.seer.teach.pay.app.client.dto.PayOrderRespDTO;
import com.seer.teach.pay.app.pay.controller.resp.AppPayOrderResp;
import com.seer.teach.pay.app.pay.controller.resp.AppPayOrderStatusResp;
import com.seer.teach.pay.entity.PayOrderEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;



@Mapper(componentModel = "spring")
public interface AppPayOrderConvert {

    AppPayOrderConvert INSTANCE = Mappers.getMapper(AppPayOrderConvert.class);

    AppPayOrderStatusResp convertOne(PayOrderEntity payOrderEntity);

    AppPayOrderResp convertOne(PayOrderRespDTO payOrderRespDTO);
}
