package cn.iocoder.yudao.module.bpm.convert.oa;

import cn.iocoder.yudao.module.bpm.controller.admin.oa.vo.procurepay.BpmOAProcurePayItemRespVO;
import cn.iocoder.yudao.module.bpm.controller.admin.oa.vo.procurepay.BpmOAProcurePayItemSaveReqVO;
import cn.iocoder.yudao.module.bpm.dal.dataobject.oa.BpmOAProcurePayItemDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 报销支付申请 Convert
 *
 * @author yj
 */
@Mapper
public interface BpmOAProcurePayItemConvert {

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

    BpmOAProcurePayItemDO convert(BpmOAProcurePayItemSaveReqVO bean);

    BpmOAProcurePayItemRespVO convert(BpmOAProcurePayItemDO bean);

    List<BpmOAProcurePayItemDO> convert(List<BpmOAProcurePayItemSaveReqVO> items);

}
