result = serviceEntity;
}
if (source instanceof DetailReplacement) {
DetailReplacementEntity detailReplacementEntity = new DetailReplacementEntity();
detailReplacementEntity.setId(source.getId());
Detail detail = ((DetailReplacement) source).getDetail();
DetailEntity detailEntity = DozerHelper.map(detail,
DetailEntity.class);
detailReplacementEntity.setDetail(detailEntity);
detailReplacementEntity.setNote(source.getNote());
detailReplacementEntity.setElapsedTime(source.getElapsedTime());
detailReplacementEntity.setTotal(source.getTotal());
result = detailReplacementEntity;
}
return result;