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

import com.yhy.module.core.controller.admin.workbench.vo.WbUnitInfoRespVO;
import com.yhy.module.core.controller.admin.workbench.vo.WbUnitInfoSaveReqVO;
import com.yhy.module.core.dal.dataobject.workbench.WbUnitInfoDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 单位工程信息 Convert
 *
 * @author yhy
 */
@Mapper
public interface WbUnitInfoConvert {

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

    WbUnitInfoDO convert(WbUnitInfoSaveReqVO bean);

    WbUnitInfoRespVO convert(WbUnitInfoDO bean);
}
