提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.report.convert.goview; |
H |
2 |
|
|
3 |
import com.iailab.framework.common.pojo.PageResult; |
|
4 |
import com.iailab.module.report.controller.admin.goview.vo.project.GoViewProjectCreateReqVO; |
|
5 |
import com.iailab.module.report.controller.admin.goview.vo.project.GoViewProjectRespVO; |
|
6 |
import com.iailab.module.report.controller.admin.goview.vo.project.GoViewProjectUpdateReqVO; |
|
7 |
import com.iailab.module.report.dal.dataobject.goview.GoViewProjectDO; |
|
8 |
import org.mapstruct.Mapper; |
|
9 |
import org.mapstruct.factory.Mappers; |
|
10 |
|
|
11 |
@Mapper |
|
12 |
public interface GoViewProjectConvert { |
|
13 |
|
|
14 |
GoViewProjectConvert INSTANCE = Mappers.getMapper(GoViewProjectConvert.class); |
|
15 |
|
|
16 |
GoViewProjectDO convert(GoViewProjectCreateReqVO bean); |
|
17 |
|
|
18 |
GoViewProjectDO convert(GoViewProjectUpdateReqVO bean); |
|
19 |
|
|
20 |
GoViewProjectRespVO convert(GoViewProjectDO bean); |
|
21 |
|
|
22 |
PageResult<GoViewProjectRespVO> convertPage(PageResult<GoViewProjectDO> page); |
|
23 |
|
|
24 |
} |