Rev 21719 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.enumuration.dtr;public enum OtpType{REGISTRATION(0),PREBOOKING_ORDER(1);private final int value;private OtpType(int value) {this.value = value;}public int getValue() {return value;}public static OtpType findByValue(int value) {switch (value) {case 0:return REGISTRATION;case 1:return PREBOOKING_ORDER;default:return null;}}}