package com.jasamedika.medifirst2000.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

import org.hibernate.envers.Audited;
import org.hibernate.envers.DefaultRevisionEntity;
import org.hibernate.envers.RevisionEntity;

import com.jasamedika.medifirst2000.base.BaseMaster;
import com.jasamedika.medifirst2000.helper.Caption;
import com.jasamedika.medifirst2000.listener.AuditLogListener;

import org.hibernate.envers.Audited;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
/**
 * class Agama
 * 
 * @author Generator
 */
@Entity(name = "AuditData")
@RevisionEntity(AuditLogListener.class)
public class AuditData extends DefaultRevisionEntity {

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.auditdata_m_id_seq")
	@javax.persistence.SequenceGenerator(name = "public.auditdata_m_id_seq", sequenceName = "public.auditdata_m_id_seq", allocationSize = 1)
	@Column(name = "id")
	protected Integer id;

	public int getId() {

		return id;
	}

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