Subversion Repositories SmartDukaan

Rev

Rev 23418 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

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

import java.util.List;

import org.springframework.stereotype.Repository;

import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
import com.spice.profitmandi.dao.entity.dtr.Otp;

@Repository
public interface OtpRepository {
        public void persist(Otp otp);
        public List<Otp> selectAllByMobileWithTime(String mobile);
        public Otp selectById(int id) throws ProfitMandiBusinessException;
        public Otp selectByIdEmailIdMobileNumber(int id, String emailId, String mobileNumber) throws ProfitMandiBusinessException;
}