Subversion Repositories SmartDukaan

Rev

Rev 23269 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
21723 ashik.ali 1
package com.spice.profitmandi.dao.repository.dtr;
21545 ashik.ali 2
 
3
import java.util.List;
4
 
5
import org.springframework.stereotype.Repository;
6
 
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
21723 ashik.ali 8
import com.spice.profitmandi.dao.entity.dtr.Otp;
21545 ashik.ali 9
 
10
@Repository
11
public interface OtpRepository {
23269 ashik.ali 12
	public void persist(Otp otp);
13
	public List<Otp> selectAllByEmailWithTime(String email);
23418 ashik.ali 14
	public Otp selectById(int id) throws ProfitMandiBusinessException;
15
	public Otp selectByIdEmailIdMobileNumber(int id, String emailId, String mobileNumber) throws ProfitMandiBusinessException;
21545 ashik.ali 16
}