private SamplePO convertDto2Vo(final SampleDTO dto) { final SamplePO result = new SamplePO(); result.setId(dto.getId()); result.setName(dto.getName()); result.setPhone(dto.getPhone()); return result; }
private SampleDTO convertVo2Dto(final SamplePO vo) { final SampleDTO result = new SampleDTO(); result.setId(vo.getId()); result.setName(vo.getName()); result.setPhone(vo.getPhone()); return result; }