18 package org.turro.erp.entity;
20 import java.util.Date;
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.GeneratedValue;
24 import javax.persistence.GenerationType;
25 import javax.persistence.Id;
26 import javax.persistence.ManyToOne;
27 import javax.persistence.Temporal;
28 import javax.persistence.TemporalType;
38 @GeneratedValue(strategy= GenerationType.IDENTITY)
39 @Column(name=
"IDENTIFIER")
42 @Temporal(value = TemporalType.DATE)
43 private Date initialDate;
45 @Temporal(value = TemporalType.DATE)
46 private Date finalDate;
54 private boolean defaultDegree;
61 this.defaultDegree = defaultDegree;
69 this.finalDate = finalDate;
77 this.humanResource = humanResource;
93 this.initialDate = initialDate;
97 return aptitudeDegree;
101 this.aptitudeDegree = aptitudeDegree;
107 return humanResource.getName() +
109 aptitudeDegree.getFullName();
void setDefaultDegree(boolean defaultDegree)
HumanResource getHumanResource()
void setInitialDate(Date initialDate)
AptitudeDegree getAptitudeDegree()
void setFinalDate(Date finalDate)
void setHumanResource(HumanResource humanResource)
boolean isDefaultDegree()
void setAptitudeDegree(AptitudeDegree aptitudeDegree)