pamapi/src/main/java/com/pollex/pam/service/mapper/AppointmentDTOMapper.java
@@ -1,5 +1,6 @@ package com.pollex.pam.service.mapper; import com.pollex.pam.service.dto.AppointmentDTO; import org.springframework.beans.BeanUtils; import org.springframework.stereotype.Service; @@ -15,4 +16,10 @@ BeanUtils.copyProperties(source, target); return target; } public Appointment toAppointment(AppointmentDTO source) { Appointment target = new Appointment(); BeanUtils.copyProperties(source, target); return target; } }