Subversion Repositories SmartDukaan

Rev

Rev 25915 | Rev 25979 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.repository.dtr;

import java.time.LocalDateTime;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.spice.profitmandi.dao.entity.user.FranchiseeVisit;
import com.spice.profitmandi.dao.entity.user.Lead;
import com.spice.profitmandi.dao.enumuration.dtr.LeadStatus;

@Repository
public interface LeadRepository {
        public void persist(Lead lead);

        public List<Lead> selectByAuthIdAndStatus(int authId, LeadStatus status, int offset, int limit);

        public Lead selectById(int id);

        List<Lead> selectLeadsScheduledBetweenDate(LocalDateTime startDate, LocalDateTime endDate);
}