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

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

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

import java.io.Serializable;
import java.util.UUID;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Version;
import lombok.Getter;
import lombok.Setter;

/**
 * The persistent class for the aaa_session_attributes database table.
 */
@Entity
@Table(name = "aaa_session_attributes")
@Getter
@Setter
public class SessionAttribute extends AAAModel {

  private static final long serialVersionUID = 1L;

  @Version
  private long dbversion;

  private String name;

  private String value;

  //bi-directional many-to-one association to Session
  @ManyToOne
  @JoinColumn(name = "session_id")
  private Session session;

  public SessionAttribute() {
    setId(UUID.randomUUID().toString());
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy