package cn.iocoder.yudao.module.configure.convert.inspectionitem;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.configure.controller.admin.inspectionitem.vo.*;
import cn.iocoder.yudao.module.configure.dal.dataobject.inspectionitem.InspectionItemDO;

/**
 * 检测报告模板检测项目 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface InspectionItemConvert {

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

    InspectionItemDO convert(InspectionItemCreateReqVO bean);

    InspectionItemDO convert(InspectionItemSaveReqVO bean);

    InspectionItemRespVO convert(InspectionItemDO bean);

    List<InspectionItemRespVO> convertList(List<InspectionItemDO> list);

    PageResult<InspectionItemRespVO> convertPage(PageResult<InspectionItemDO> page);

}
