feat(Mapper): creado mapper para Recipe

parent f59d3aee
package com.example.apprecetas.recipe.infrastructure.mapper;
import com.example.apprecetas.recipe.domain.entity.Recipe;
import com.example.apprecetas.recipe.infrastructure.controller.dto.RecipeInputDto;
import com.example.apprecetas.recipe.infrastructure.controller.dto.RecipeOutputDto;
import com.example.apprecetas.recipe.infrastructure.repository.jpa.RecipeJpa;
import org.mapstruct.Mapper;
@Mapper
public interface RecipeMapper {
RecipeOutputDto map(Recipe recipe);
Recipe map(RecipeInputDto recipeInputDto);
RecipeJpa mapJpa(Recipe recipe);
Recipe mapJpa(RecipeJpa recipeJpa);
}
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