All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.eurodyn.qlack.fuse.aaa.model.VerificationToken Maven / Gradle / Ivy

There is a newer version: 3.6.7
Show newest version
package com.eurodyn.qlack.fuse.aaa.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import lombok.Getter;
import lombok.Setter;

@Entity
@Table(name = "aaa_verification")
@Getter
@Setter
public class VerificationToken extends AAAModel {

  private static final long serialVersionUID = 2487733740070965552L;

  @Column(name = "created_on")
  private long createdOn;

  @Column(name = "expires_on")
  private long expiresOn;

  private String data;

  // bi-directional many-to-one association to User.
  @ManyToOne
  @JoinColumn(name = "user_id")
  private User user;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy