package com.yhy.module.core.convert.workbench;

import com.yhy.module.core.controller.admin.workbench.vo.WbBoqResourceRespVO;
import com.yhy.module.core.controller.admin.workbench.vo.WbBoqResourceSaveReqVO;
import com.yhy.module.core.dal.dataobject.workbench.WbBoqResourceDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 工作台工料机消耗 Convert
 *
 * @author yhy
 */
@Mapper
public interface WbBoqResourceConvert {

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

    WbBoqResourceDO convert(WbBoqResourceSaveReqVO bean);

    WbBoqResourceRespVO convert(WbBoqResourceDO bean);
}
