feat(recipe/mapper): creados mappers para ingrediente y paso

parent d47b0540
package com.example.apprecetas.recipe.infrastructure.mapper;
import com.example.apprecetas.recipe.domain.entity.Ingredient;
import com.example.apprecetas.recipe.infrastructure.repository.mongodb.IngredientDocument;
import com.example.apprecetas.recipe.infrastructure.repository.mongodb.RecipeDocument;
import org.mapstruct.Mapper;
@Mapper
public interface IngredientMapper {
IngredientDocument map(Ingredient ingredient);
}
package com.example.apprecetas.recipe.infrastructure.mapper;
import com.example.apprecetas.recipe.domain.entity.Step;
import com.example.apprecetas.recipe.infrastructure.repository.mongodb.StepDocument;
import org.mapstruct.Mapper;
@Mapper
public interface StepMapper {
StepDocument map(Step step);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment