Changed startDate to int to reflect database state
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
parent
e5350da142
commit
e0fb69437e
|
@ -3,17 +3,17 @@ package de.dis2017.data;
|
|||
import java.util.Date;
|
||||
|
||||
public class TenancyContract extends Contract {
|
||||
private String startDate;
|
||||
private int startDate;
|
||||
private int duration;
|
||||
private int additionalCost;
|
||||
|
||||
private int apartment;
|
||||
|
||||
public String getStartDate() {
|
||||
public int getStartDate() {
|
||||
return startDate;
|
||||
}
|
||||
|
||||
public void setStartDate(String startDate) {
|
||||
public void setStartDate(int startDate) {
|
||||
this.startDate = startDate;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue