package roseindia.model;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "empinfo")
public class EmpInfo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private String fname;
	private String email;

	@Id
	@GeneratedValue
	@Column(name = "id")
	public int getId() {
		return id;
	}

	@Column(name = "fname")
	public String getFname() {
		return fname;
	}

	@Column(name = "email")
	public String getEmail() {
		return email;
	}

	@Column(name = "joindate")
	public void setId(int id) {
		this.id = id;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public void setEmail(String email) {
		this.email = email;
	}
}
