package org.kuorum.provider.mongo.repositories.mailing;

import org.bson.types.ObjectId;
import org.kuorum.provider.mongo.model.mailing.KuorumEmailAccount;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by iduetxe on 2/01/16.
 */
@Repository
@Deprecated
public interface KuorumEmailAccountRepository extends PagingAndSortingRepository<KuorumEmailAccount, ObjectId> {

    public KuorumEmailAccount findByEmail(String email);
}
