Helius
2020-05-13 895dedb7341da20fb815010630a99988005b81a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.xcong.excoin.modules.test.mapper;
 
import com.xcong.excoin.modules.test.dto.TestUserDto;
import com.xcong.excoin.modules.test.entity.TestUserEntity;
import com.xcong.excoin.modules.test.vo.TestUserVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
 
/**
 * @author wzy
 * @date 2020-05-09 15:26
 **/
@Mapper
public abstract class TestUserEntityMapper {
    public static final TestUserEntityMapper INSTANCE = Mappers.getMapper(TestUserEntityMapper.class);
 
    public abstract TestUserEntity dtoToEntity(TestUserDto testUserDto);
 
    public abstract TestUserVo entityToVo(TestUserEntity testUserEntity);
}