package cn.iocoder.yudao.module.asset.convert.replacement;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.asset.controller.admin.replacement.vo.VehicleReplacementRespVO;
import cn.iocoder.yudao.module.asset.controller.admin.replacement.vo.VehicleReplacementSaveReqVO;
import cn.iocoder.yudao.module.asset.dal.dataobject.replacement.VehicleReplacementDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 替换车申请 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface VehicleReplacementConvert {

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

    VehicleReplacementDO convert(VehicleReplacementSaveReqVO bean);

    VehicleReplacementRespVO convert(VehicleReplacementDO bean);

    PageResult<VehicleReplacementRespVO> convertPage(PageResult<VehicleReplacementDO> page);

}
