package com.cdm.module.pay.convert.demo;

import com.cdm.framework.common.pojo.PageResult;
import com.cdm.module.pay.controller.admin.demo.vo.transfer.PayDemoTransferCreateReqVO;
import com.cdm.module.pay.controller.admin.demo.vo.transfer.PayDemoTransferRespVO;
import com.cdm.module.pay.dal.dataobject.demo.PayDemoTransferDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author jason
 */
@Mapper
public interface PayDemoTransferConvert {

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

    PayDemoTransferDO convert(PayDemoTransferCreateReqVO bean);

    PageResult<PayDemoTransferRespVO> convertPage(PageResult<PayDemoTransferDO> pageResult);
}
