outgoingPaymentEntity.setCreationDate(source.getCreationDate());
outgoingPaymentEntity.setId(source.getId());
outgoingPaymentEntity.setPaymentDate(source.getPaymentDate());
Employee employee = ((OutgoingPayment) source).getRecipient();
EmployeeEntity employeeEntity = null;
if (employee instanceof Mechanic) {
employeeEntity = DozerHelper.map(employee, MechanicEntity.class);
}
if (employee instanceof Employee) {
employeeEntity = DozerHelper.map(employee, EmployeeEntity.class);