xiaoyong931011
2022-07-08 fe87cd1b8168b9ef6f89e80bc5c1d6a5757af3c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.xcong.farmer.cms.modules.test.mapper;
 
import com.xcong.farmer.cms.modules.test.dto.TestUserDto;
import com.xcong.farmer.cms.modules.test.entity.TestUserEntity;
import com.xcong.farmer.cms.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);
}