package com.bankaudit.model;
/*package com.bauapp.model;

import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

*//**
 * @author amit.patel
 *
 *//*
@Entity
@Table(name = "otp_verification")
public class OtpVerification {
	
	 * Table: otp_verification ---------------------------
	 * 
	 * Column Information ----------------------
	 * 
	 * Field Type Collation Null Key Default Extra Privileges Comment
	 * -------------- ---------- ----------------- ------ ------
	 * ----------------- -------------- -------------------------------
	 * --------- id int(10) (NULL) NO PRI (NULL) auto_increment
	 * select,insert,update,references user_id int(10) (NULL) YES (NULL)
	 * select,insert,update,references otp varchar(5) latin1_swedish_ci YES
	 * (NULL) select,insert,update,references generated_time
	 

	@Id
	@GeneratedValue
	@Column(name = "id")
	private Long id;

	@OneToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "user_id", updatable = false, insertable = false)
	private User user;

	@Column(name = "user_id")
	private Long userId;

	@Column(name = "otp")
	private String otp;

	@Column(name = "generated_time")
	private Date generatedTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getOtp() {
		return otp;
	}

	public void setOtp(String otp) {
		this.otp = otp;
	}

	public Date getGeneratedTime() {
		return generatedTime;
	}

	public void setGeneratedTime(Date generatedTime) {
		this.generatedTime = generatedTime;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}
*/