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

import com.yhy.module.core.controller.admin.workbench.vo.WbItemInfoRespVO;
import com.yhy.module.core.controller.admin.workbench.vo.WbItemInfoSaveReqVO;
import com.yhy.module.core.dal.dataobject.workbench.WbItemInfoDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 单项基本信息 Convert
 *
 * @author yhy
 */
@Mapper
public interface WbItemInfoConvert {

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

    WbItemInfoDO convert(WbItemInfoSaveReqVO bean);

    WbItemInfoRespVO convert(WbItemInfoDO bean);
}
