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 TestResult {
	
	//PK
 	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private long test_result_id;
 	
 	private long test_id;
 	
 	private long student_id;
 	
 	@CreationTimestamp
	public Date createdAt;
 	 	 	 				
	public TestResult() {
		super();
	}

	public long getTest_id() {
		return test_id;
	}

	public void setTest_id(long test_id) {
		this.test_id = test_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 long getStudent_id() {
		return student_id;
	}

	public void setStudent_id(long student_id) {
		this.student_id = student_id;
	}

	public Date getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}
	
	

	
}
