package com.sourcefellows.patterns.steadystate;

import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.time.LocalDate;
import java.util.Date;

public interface AttendeeRepository
        extends PagingAndSortingRepository<Attendee, Long>,
        CrudRepository<Attendee, Long> {
    void deleteAttendeeByCreationDateBefore(LocalDate creationDateBefore);
}
