Permalink
Browse files

Added Estimated End Date. It was in the Google doc but wasn't in the …

…class.
  • Loading branch information...
1 parent 2492b11 commit 11c9ccb3a8da8f74605ea1fdd96f86a2c7f33c88 @cregg cregg committed with Feb 24, 2014
Showing with 9 additions and 2 deletions.
  1. +9 −2 src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackage.java
View
11 src/main/java/ca/bcit/infosys/comp4911/domain/WorkPackage.java
@@ -45,8 +45,8 @@
@Temporal(TemporalType.DATE)
private Date startDate;
- @Column
- private String progressStatus;
+ @Temporal(TemporalType.DATE)
+ private Date estimatedEndDate;
@Column
private String purpose;
@@ -63,6 +63,9 @@
@Column
private String outputs;
+ @Column
+ private String progressStatus;
+
@OneToMany
private Set<Effort> BudgetCostWorkScheduledInPD = new HashSet<Effort>();
@@ -190,6 +193,10 @@ public void setEstimateToCompletionInPD(int estimateToCompletionInPD) {
this.estimateToCompletionInPD = estimateToCompletionInPD;
}
+ public Date getEstimatedEndDate() { return estimatedEndDate; }
+
+ public void setEstimatedEndDate(Date estimatedEndDate) { this.estimatedEndDate = estimatedEndDate; }
+
@Override
public boolean equals(Object o) {
if (this == o) return true;

0 comments on commit 11c9ccb

Please sign in to comment.