package com.iailab.module.report.convert.goview;
|
|
import com.iailab.framework.common.pojo.PageResult;
|
import com.iailab.module.report.controller.admin.goview.vo.project.GoViewProjectCreateReqVO;
|
import com.iailab.module.report.controller.admin.goview.vo.project.GoViewProjectRespVO;
|
import com.iailab.module.report.controller.admin.goview.vo.project.GoViewProjectUpdateReqVO;
|
import com.iailab.module.report.dal.dataobject.goview.GoViewProjectDO;
|
import org.mapstruct.Mapper;
|
import org.mapstruct.factory.Mappers;
|
|
@Mapper
|
public interface GoViewProjectConvert {
|
|
GoViewProjectConvert INSTANCE = Mappers.getMapper(GoViewProjectConvert.class);
|
|
GoViewProjectDO convert(GoViewProjectCreateReqVO bean);
|
|
GoViewProjectDO convert(GoViewProjectUpdateReqVO bean);
|
|
GoViewProjectRespVO convert(GoViewProjectDO bean);
|
|
PageResult<GoViewProjectRespVO> convertPage(PageResult<GoViewProjectDO> page);
|
|
}
|