package dst.ass1.jpa.dao;

import dst.ass1.jpa.model.IParticipant;

public interface IParticipantDAO extends GenericDAO<IParticipant> {

    /**
     * Returns the participant associated with the given email. Returns null if the email does not exist.
     *
     * @param email the email address
     * @return the participant or null
     */
    IParticipant findByEmail(String email);
}
