Salman Manoe 593613a753 Update Generate Comment @author
Perbaikan author untuk salman
2021-12-21 12:57:51 +07:00

22 lines
571 B
Java

package com.jasamedika.medifirst2000.dao;
import java.util.List;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;
import com.jasamedika.medifirst2000.entities.Profesi;
/**
* @author salmanoe
* @since Oct 8, 2021
*/
@Repository("profesiDao")
public interface ProfesiDao extends PagingAndSortingRepository<Profesi, Integer> {
@Query("select prf from Profesi prf where prf.statusEnabled is true")
public List<Profesi> findAllActive();
}