package de.kreth.clubhelper.model.dao; import java.time.LocalDate; import java.time.LocalDateTime; import java.util.Date; import java.util.List; import org.springframework.data.repository.CrudRepository; import de.kreth.clubhelper.model.data.Attendance; import de.kreth.clubhelper.model.data.Person; public interface AttendanceDao extends CrudRepository { List findByOnDate(LocalDate onDate); List findByPerson(Person person); Attendance findByPersonAndOnDate(Person person, Date onDate); List findByPersonId(long personId); List findByChangedGreaterThan(LocalDateTime date); }