| | |
| | | package com.pollex.pam.service.mapper; |
| | | |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.pollex.pam.domain.AppointmentNoticeLog; |
| | |
| | | |
| | | public AppointmentNoticeLog toAppointmentNoticeLog(AppointmentNoticeSendDTO source) { |
| | | AppointmentNoticeLog target = new AppointmentNoticeLog(); |
| | | target.setAppointmentId(source.getAppointmentId()); |
| | | BeanUtils.copyProperties(source, target); |
| | | // target.setAppointmentId(source.getAppointmentId()); |
| | | target.setContent(source.getMessage()); |
| | | target.setEmail(source.getEmail()); |
| | | target.setPhone(source.getPhone()); |
| | | // target.setEmail(source.getEmail()); |
| | | // target.setPhone(source.getPhone()); |
| | | return target; |
| | | } |
| | | } |