| 1234567891011121314151617181920212223242526272829303132333435363738 |
- package com.poteviohealth.cgp.integration.mapstruct;
- import com.baomidou.mybatisplus.core.metadata.IPage;
- import com.poteviohealth.cgp.common.model.CommonPage;
- import com.poteviohealth.cgp.integration.model.IntegralDetail;
- import com.poteviohealth.cgp.integration.model.outvo.web.IntegralDetailWebOutDTO;
- import org.mapstruct.Mapper;
- import org.mapstruct.factory.Mappers;
- /**
- * @description 实体映射工具
- * @Date 6:30 PM 2019/7/25
- * @Author MoonJiDoo
- **/
- @Mapper()
- public interface IntegralConverter {
- IntegralConverter INSTANCE = Mappers.getMapper(IntegralConverter.class);
- /**
- * 映射
- *
- * @param integralDetail
- * @return
- * @Date 6:29 PM 2019/7/25
- * @Author MoonJiDoo
- **/
- IntegralDetailWebOutDTO model2WebDTO(IntegralDetail integralDetail);
- /**
- * 映射
- *
- * @param integralDetailIPage
- * @return
- * @Date 6:29 PM 2019/7/25
- * @Author MoonJiDoo
- **/
- CommonPage<IntegralDetailWebOutDTO> model2WebDTO(CommonPage<IntegralDetail> integralDetailIPage);
- }
|