package com.yanzhu.module.pay.convert.wallet;

import com.yanzhu.framework.common.pojo.PageResult;
import com.yanzhu.module.pay.controller.admin.wallet.vo.wallet.PayWalletRespVO;
import com.yanzhu.module.pay.controller.app.wallet.vo.wallet.AppPayWalletRespVO;
import com.yanzhu.module.pay.dal.dataobject.wallet.PayWalletDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface PayWalletConvert {

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

    AppPayWalletRespVO convert(PayWalletDO bean);

    PayWalletRespVO convert02(PayWalletDO bean);

    PageResult<PayWalletRespVO> convertPage(PageResult<PayWalletDO> page);

}
