package com.jasamedika.medifirst2000.dao;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import com.jasamedika.medifirst2000.entities.SettingDataFixed;

@Repository("SettingDataFixedDao")
public interface SettingDataFixedDao extends PagingAndSortingRepository<SettingDataFixed, Integer>{

	@Query("select a.nilaiField from SettingDataFixed a where a.namaField=:value")
	String getSettingDataFixed(@Param("value") String value);
	
}
