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);
|
}
|