class GoalDtoMapper extends AbstractConverter<GoalTranslation, GoalDto> {

    @Override
    protected GoalDto convert(GoalTranslation goalTranslation) {
        return new GoalDto(goalTranslation.getGoal().getId(), goalTranslation.getText());
    }

}