/*package com.jasamedika.medifirst2000.converter;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import org.springframework.stereotype.Component;

import com.jasamedika.medifirst2000.converter.base.BaseVoConverter;
import com.jasamedika.medifirst2000.entities.RuanganM;
import com.jasamedika.medifirst2000.util.ExtendedSpringBeanUtil;
import com.jasamedika.medifirst2000.vo.RuanganMVO;

*//**
 * Converter class between RuanganM and RuanganMVO
 * 
 * @author Roberto
 *//*
@Component
public class RuanganMConverter{ //implements BaseVoConverter<RuanganMVO, RuanganM> {
	

	public RuanganM transferVOToModel(RuanganMVO vo, RuanganM model) {
		if (null == model)
			model = new RuanganM();

		// fix this
		//ExtendedSpringBeanUtil.copySpecificProperties(vo, model, new String[] {"id","nama", "alamat", }, new String[] { "id","nama", "alamat", });
		model = modelMapper.map(vo, RuanganM.class);

		return model;

	}

	public List<RuanganMVO> transferListOfModelToListOfVO(List<RuanganM> models,
			List<RuanganMVO> vos) {
		if (null == vos)
			vos = new ArrayList<RuanganMVO>();

		if (null == models)
			return vos;

		for (RuanganM ruanganM : models) {
			RuanganMVO vo = new RuanganMVO();
			vo = modelMapper.map(ruanganM, RuanganMVO.class);
			
			vos.add(vo);
		}

		return vos;
	}

	
	
}
*/