Mapping Interface

⭐ Implementing mapping interface

If you have a mapping interface definition, then you can easily generate the complete implementation in a single run with “🔥 Implement interface as mapper”

public interface IUserMapper
{
    UserDTO Map(UserEntity entity);
    UserEntity Map(UserDTO dto);
}

Example: