package com.jasamedika.medifirst2000.controller;

import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.jasamedika.medifirst2000.controller.base.LocaleController;
import com.jasamedika.medifirst2000.service.StokMinimumPerDepoService;
import com.jasamedika.medifirst2000.vo.StokProdukGlobalVO;

/**
 * Controller class for Registrasi Pasien Business
 * 
 * @author Adik
 */
@RestController
@RequestMapping("/stok-minimum-per-depo")
public class StokMinimumPerDepoController extends LocaleController<StokProdukGlobalVO> {

	@Autowired
	private StokMinimumPerDepoService stokMinimumPerDepoService;
	
	private static final Logger LOGGER = LoggerFactory.getLogger(StokMinimumPerDepoController.class);	
	
	@RequestMapping(value = "/get-all-stok-minimum-per-depo", method = RequestMethod.GET)
	public Map<String, Object> findAllAntrianPaging(String dari,String kepada) {
		Map<String,Object> result=stokMinimumPerDepoService.getAllStokProdukGlobal(dari, kepada);
		return result;
	}

	


}
