package com.infinite.focus.server.tests;

import java.util.Date;

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

import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.GenericGenerator;


/**
 * 
 * @author Saboor
 * 
 *
 */

@Entity
public class Answer {
	
	//PK
 	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private long answer_id;
 	
 	private long test_result_id, question_id;
 	 	 	 	
	private String answer_text ,question_text;
			
	public Answer() {
		super();
	}

	public long getQuestion_id() {
		return question_id;
	}

	public void setQuestion_id(long question_id) {
		this.question_id = question_id;
	}

	public long getAnswer_id() {
		return answer_id;
	}

	public void setAnswer_id(long answer_id) {
		this.answer_id = answer_id;
	}

	public long getTest_result_id() {
		return test_result_id;
	}

	public void setTest_result_id(long test_result_id) {
		this.test_result_id = test_result_id;
	}

	public String getQuestion_text() {
		return question_text;
	}

	public void setQuestion_text(String question_text) {
		this.question_text = question_text;
	}

	public String getAnswer_text() {
		return answer_text;
	}

	public void setAnswer_text(String answer_text) {
		this.answer_text = answer_text;
	}
	
	
	
}
