perf(recipe/mapper): eliminados mappers para ingredient y step

parent 1f529615
package com.example.apprecetas.recipe.infrastructure.mapper;
import com.example.apprecetas.recipe.domain.entity.Ingredient;
import com.example.apprecetas.recipe.infrastructure.controller.dto.input.IngredientInputDto;
import org.mapstruct.Mapper;
@Mapper
public interface IngredientMapper {
Ingredient map(IngredientInputDto ingredientInputDto);
}
package com.example.apprecetas.recipe.infrastructure.mapper;
import com.example.apprecetas.recipe.domain.entity.Step;
import com.example.apprecetas.recipe.infrastructure.controller.dto.input.StepInputDto;
import org.mapstruct.Mapper;
@Mapper
public interface StepMapper {
Step map(StepInputDto stepInputDto);
}
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