Subversion Repositories SmartDukaan

Rev

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

Rev 22009 Rev 23297
Line 22... Line 22...
22
	 * 
22
	 * 
23
	 */
23
	 */
24
	@Id
24
	@Id
25
	@GeneratedValue(strategy=GenerationType.IDENTITY)
25
	@GeneratedValue(strategy=GenerationType.IDENTITY)
26
	private int id;
26
	private int id;
-
 
27
	
27
	private String email;
28
	private String email;
-
 
29
	
28
	@Column(length = 10)
30
	@Column(length = 10)
29
	private String mobile;
31
	private String mobile;
-
 
32
	
30
	@Column(length = 5)
33
	@Column(length = 5)
31
	private String otp;
34
	private String otp;
-
 
35
	
32
	@Enumerated(EnumType.STRING)
36
	@Enumerated(EnumType.STRING)
33
	private OtpType otpType;
37
	private OtpType otpType;
-
 
38
	
34
	@Convert(converter = LocalDateTimeAttributeConverter.class)
39
	@Convert(converter = LocalDateTimeAttributeConverter.class)
35
	private LocalDateTime createdOn;
40
	private LocalDateTime createdOn;
-
 
41
	
36
	@Convert(converter = LocalDateTimeAttributeConverter.class)
42
	@Convert(converter = LocalDateTimeAttributeConverter.class)
37
	private LocalDateTime expiryTimestamp;
43
	private LocalDateTime expiryTimestamp;
-
 
44
	
38
	@Column(columnDefinition="tinyint(1) default 0")
45
	@Column(columnDefinition="tinyint(1) default 0")
39
	private boolean expired;
46
	private boolean expired;
-
 
47
	
40
	@Column(columnDefinition="tinyint(1) default 0")
48
	@Column(columnDefinition="tinyint(1) default 0")
41
	private boolean verified;
49
	private boolean verified;
-
 
50
	
42
	private int tryCount;
51
	private int tryCount;
43
	
52
	
44
	public int getTryCount() {
53
	public int getTryCount() {
45
		return tryCount;
54
		return tryCount;
46
	}
55
	}