package Model;
// Generated 2 juin 2010 09:54:13 by Hibernate Tools 3.2.4.GA

/**
 * Etudiant generated by hbm2java
 */
public class Etudiant implements java.io.Serializable 
{
	private static final long serialVersionUID = 1L;
	private int id;
	private String nom;
	private String prenom;
	private int age;

	public Etudiant() {
	}

	public Etudiant(int id, String nom, String prenom, int age) {
		this.id = id;
		this.nom = nom;
		this.prenom = prenom;
		this.age = age;
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getNom() {
		return this.nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPrenom() {
		return this.prenom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public int getAge() {
		return this.age;
	}

	public void setAge(int age) {
		this.age = age;
	}
	
	public String toString()
	{
		return this.nom + " " + this.prenom + " : " + this.age;
	}

}
