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.LiteCodeConfigDTO;
|
||||
import com.newyetai.usercenter.auth.entity.LiteCodeConfig;
|
||||
import com.newyetai.usercenter.auth.dto.LiteCodeConfigOperateDTO;
|
||||
|
||||
/**
|
||||
* @author sr on 2021-12-21
|
||||
*/
|
||||
@Mapper
|
||||
public interface LiteCodeConfigMapMapper {
|
||||
|
||||
LiteCodeConfigMapMapper INSTANCE =
|
||||
Mappers.getMapper(LiteCodeConfigMapMapper.class);
|
||||
|
||||
/**
|
||||
* dto to entity
|
||||
*
|
||||
* @param liteCodeConfigDto
|
||||
* @return
|
||||
* @author sr on 2021-12-21
|
||||
*/
|
||||
LiteCodeConfig toEntity(
|
||||
LiteCodeConfigDTO liteCodeConfigDto);
|
||||
|
||||
|
||||
/**
|
||||
* @param liteCodeConfigOperateDTO
|
||||
* @return
|
||||
* @author sr on 2021-12-21
|
||||
*/
|
||||
LiteCodeConfig toEntity(LiteCodeConfigOperateDTO liteCodeConfigOperateDTO);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user