package it.enea.cruise.model.parametricQuery;

import java.util.List;
import java.util.Map;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import lombok.Getter;
import lombok.Setter;

@Entity (name = "admittedqueryvalues")
@Table(name = "cruise.t_admittedqueryvalues")
@Getter
@Setter
public class AdmittedQueryValues {
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private int admittedqueryvalueid;
	
	private String type;
	
	private String value;
	
	@Transient
	private List<ParametricQuery> queries;
	
	@Transient
	private Map<String, List<String>> listOfValue;
	
	public int getId() {
		return admittedqueryvalueid;
	}

	public void setId(int admittedqueryvalueid) {
		this.admittedqueryvalueid = admittedqueryvalueid;
	}

}
