package com.ejb.conge; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="jbpm_Conge") public class Conge implements Serializable { @Id @Column(name = "idProcess") private long numerp; private String actor; private String nom; private String prenom; private String grade; private String structure; private int duree; public Conge() { super(); } public Conge(long numerp, String actor, String nom,String prenom,String grade,String structure, int duree) { this.numerp = numerp; this.actor = actor; this.nom = nom; this.prenom=prenom; this.grade=grade; this.structure=structure; this.duree=duree; } public long getNumper() { return numerp ; } public void setNumper(long numerp) { this.numerp = numerp; } public String getNom() { return nom; } public void setNom(String nom) { this.nom = nom; } public void setGrade (String grade) {this .grade=grade;} public String getGrade() { return grade; } public void setStructure (String structure) {this .structure=structure;} public String getStructure() { return structure; } public void setDuree (int duree) {this .duree =duree;} public int getDuree() { return duree; } public void setActor (String actor) {this .actor =actor;} public String getActor() { return actor; } }