Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
21719 ashik.ali 1
package com.spice.profitmandi.dao.enumuration.dtr;
21545 ashik.ali 2
 
3
public enum OtpType{
4
	REGISTRATION(0);
5
 
6
	private final int value;
7
 
8
	private OtpType(int value) {
9
		this.value = value;
10
	}
11
 
12
	public int getValue() {
13
		return value;
14
	}
15
 
16
	public static OtpType findByValue(int value) { 
17
		switch (value) {
18
		case 0:
19
			return REGISTRATION;
20
		default:
21
			return null;
22
		}
23
	}
24
}