| | |
| | | import com.pollex.pam.service.dto.ConsultantDTO; |
| | | import com.pollex.pam.service.dto.ConsultantDetailDTO; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.*; |
| | |
| | | |
| | | private final static Character SPLIT_MASK = ','; |
| | | |
| | | private final AppointmentService appointmentService; |
| | | |
| | | public ConsultantMapper(AppointmentService appointmentService) { |
| | | this.appointmentService = appointmentService; |
| | | } |
| | | @Autowired |
| | | AppointmentService appointmentService; |
| | | |
| | | public ConsultantDTO toDto(Consultant source) { |
| | | ConsultantDTO consultantDTO = new ConsultantDTO(); |