package com.red.circle.other.app.inner.convertor.user;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.rds.entity.user.user.PasswordLog;
import com.red.circle.other.inner.model.dto.user.PasswordLogDTO;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2024/1/5
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface PasswordLogInnerConvertor {

  PasswordLog toPasswordLog(PasswordLogDTO log);

  PasswordLogDTO toPasswordLogDTO(PasswordLog passwordLog);
}
