package com.jasamedika.medifirst2000.service;

import java.util.Map;

import org.springframework.data.jpa.domain.Specification;

import com.jasamedika.medifirst2000.entities.DraftSurat;
import com.jasamedika.medifirst2000.entities.DraftSuratRuangan;
import com.jasamedika.medifirst2000.vo.DraftSuratVO;

public interface DraftSuratService {
	
	Map<String, Object> addDraftSurat(DraftSuratVO vo);
	
	String getNoSurat();
	
	Map<String, Object> gridDraftSurat(Integer page, Integer limit, String sort, String dir,Specification<DraftSuratRuangan> spec);

	DraftSuratVO findByNoRec(String noRec);
	
}
