保誠-保戶業務員媒合平台
wayne
2021-12-03 82e2a62e7c90cc191f9e2ebc569fe3a3663b68b0
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;
    }
}