package com.ffii.core.support;

import java.io.Serializable;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.NoRepositoryBean;

import com.ffii.core.entity.IdEntity;

/**
 * @author Fung
 * @see https://docs.spring.io/spring-data/jpa/docs/2.7.0/reference/html/#jpa.query-methods.query-creation
 */
@NoRepositoryBean
public interface AbstractDao<T extends IdEntity<ID>, ID extends Serializable> extends JpaRepository<T, ID> {
}