OutboundConvert.java 712 B

1234567891011121314151617181920212223242526272829
  1. package com.dk.mdm.infrastructure.convert.ivt;
  2. import com.dk.mdm.model.pojo.ivt.Outbound;
  3. import com.dk.mdm.model.response.ivt.OutboundResponse;
  4. import com.dk.mdm.model.vo.ivt.OutboundVO;
  5. import org.mapstruct.Mapper;
  6. /**
  7. * @desc : Outbound转换类
  8. * @author : 付斌
  9. * @date : 2024-02-28 10:18
  10. */
  11. @Mapper(componentModel = "spring")
  12. public interface OutboundConvert {
  13. /**
  14. * @desc : 转换vo为pojo
  15. * @author : 付斌
  16. * @date : 2024-02-28 15:26
  17. */
  18. Outbound convertToPo(OutboundVO outboundVO);
  19. /**
  20. * @desc : 转换Res为VO
  21. * @date : 2024/3/29 11:11
  22. * @author : 寇珊珊
  23. */
  24. OutboundVO convertResToVO(OutboundResponse outboundResponse);
  25. }