19 package org.turro.erp.entity;
21 import java.util.Date;
22 import javax.persistence.Column;
23 import javax.persistence.Entity;
24 import javax.persistence.GeneratedValue;
25 import javax.persistence.GenerationType;
26 import javax.persistence.Id;
27 import javax.persistence.ManyToOne;
28 import javax.persistence.Temporal;
29 import javax.persistence.TemporalType;
39 @GeneratedValue(strategy=GenerationType.IDENTITY)
40 @Column(name=
"IDENTIFIER")
49 @Column(name=
"START_TIME")
50 @Temporal(value = TemporalType.TIMESTAMP)
51 private Date startTime;
53 @Column(name=
"END_TIME")
54 @Temporal(value = TemporalType.TIMESTAMP)
57 private boolean startManual, endManual;
72 this.humanResource = humanResource;
88 this.startTime = startTime;
96 this.endTime = endTime;
104 this.startManual = startManual;
112 this.endManual = endManual;
void setEndManual(boolean endManual)
void setHumanResource(HumanResource humanResource)
void setEndTime(Date endTime)
void setStartTime(Date startTime)
void setStartManual(boolean startManual)
HumanResource getHumanResource()