package com.jasamedika.medifirst2000.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import org.hibernate.annotations.Immutable;

/**
 * @author salmanoe
 * @since Jan 12, 2022
 */
@Entity
@Immutable
public class PgStatActivity {

	@Id
	@Column(name = "pid", insertable = false, updatable = false)
	private Integer pid;

	@Column(name = "duration", insertable = false, updatable = false)
	private String duration;

	@Column(name = "query", insertable = false, updatable = false)
	private String query;

	@Column(name = "state", insertable = false, updatable = false)
	private String state;

	public Integer getPid() {
		return pid;
	}

	public String getDuration() {
		return duration;
	}

	public String getQuery() {
		return query;
	}

	public String getState() {
		return state;
	}

}
