Files
senmesh-zc/src/main/java/com/newyetai/usercenter/auth/mapstruct/LiteCodeConfigMapMapper.java

38 lines
852 B
Java
Raw Normal View History

2025-06-11 09:42:13 +08:00
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);
}