eight
2025-04-15 01a81beea99c0298a3b6178c7796f4c27b30c6c7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package cn.lihu.jh.module.system.convert.social;
 
import cn.lihu.jh.module.system.api.social.dto.SocialUserBindReqDTO;
import cn.lihu.jh.module.system.controller.admin.socail.vo.user.SocialUserBindReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;
 
@Mapper
public interface SocialUserConvert {
 
    SocialUserConvert INSTANCE = Mappers.getMapper(SocialUserConvert.class);
 
    @Mapping(source = "reqVO.type", target = "socialType")
    SocialUserBindReqDTO convert(Long userId, Integer userType, SocialUserBindReqVO reqVO);
 
}