Subversion Repositories SmartDukaan

Rev

Rev 21545 | Rev 22925 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21545 Rev 21723
Line 1... Line 1...
1
package com.spice.profitmandi.dao.repository;
1
package com.spice.profitmandi.dao.repository.dtr;
2
 
2
 
3
import java.util.List;
3
import java.util.List;
4
 
4
 
5
import org.springframework.stereotype.Repository;
5
import org.springframework.stereotype.Repository;
6
 
6
 
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
8
import com.spice.profitmandi.dao.entity.Otp;
8
import com.spice.profitmandi.dao.entity.dtr.Otp;
9
import com.spice.profitmandi.dao.enumuration.OtpType;
9
import com.spice.profitmandi.dao.enumuration.dtr.OtpType;
10
 
10
 
11
@Repository
11
@Repository
12
public interface OtpRepository {
12
public interface OtpRepository {
13
	
13
	
14
	public Otp generateOtp(String email, String phone, OtpType otpType, String otp) throws ProfitMandiBusinessException;
14
	public Otp generateOtp(String email, String phone, OtpType otpType, String otp) throws ProfitMandiBusinessException;