An application that allows families to communicate to each other location updates and view location check-in details
 
 
 
 
family-tracker/src/main/java/sig/family/NotificationRepository.java

12 lines
421 B

package sig.family;
import java.util.List;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;
public interface NotificationRepository extends CrudRepository<Notification,Long>{
List<Notification> findByMemberIdOrderByDateDesc(Long memberid);
List<Notification> findByMemberIdOrderByDateDesc(Long memberid,Pageable p);
List<Notification> OrderByDateDesc();
}