init
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
package com.newyetai.usercenter.auth.mapstruct;
|
||||
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import com.newyetai.usercenter.auth.dto.AuthSubscribeDetailDTO;
|
||||
import com.newyetai.usercenter.auth.entity.AuthSubscribeDetail;
|
||||
import com.newyetai.usercenter.auth.dto.AuthSubscribeDetailCreateDTO;
|
||||
|
||||
/**
|
||||
* @author sr on 2022-04-05
|
||||
*/
|
||||
@Mapper
|
||||
public interface AuthSubscribeDetailMapMapper {
|
||||
|
||||
AuthSubscribeDetailMapMapper INSTANCE =
|
||||
Mappers.getMapper(AuthSubscribeDetailMapMapper.class);
|
||||
|
||||
/**
|
||||
* dto to entity
|
||||
*
|
||||
* @param authSubscribeDetailDto
|
||||
* @return
|
||||
* @author sr on 2022-04-05
|
||||
*/
|
||||
AuthSubscribeDetail toEntity(
|
||||
AuthSubscribeDetailDTO authSubscribeDetailDto);
|
||||
|
||||
|
||||
/**
|
||||
* @param authSubscribeDetailCreateDTO
|
||||
* @return
|
||||
* @author sr on 2022-04-05
|
||||
*/
|
||||
AuthSubscribeDetail toEntity(AuthSubscribeDetailCreateDTO authSubscribeDetailCreateDTO);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user