forked from AY2122S1-CS2103T-T15-4/tp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update Person model to represent a resident * Update ui to show new fields * Update sample data * Update test cases to new model * Add TODOs to commented out testcases, to be handled when dealing with the commands
- Loading branch information
Showing
40 changed files
with
641 additions
and
990 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/main/java/safeforhall/model/person/LastCollectionDate.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package safeforhall.model.person; | ||
|
||
public class LastCollectionDate { | ||
|
||
public static final String MESSAGE_CONSTRAINTS = "TODO"; | ||
|
||
public final String date; | ||
|
||
public LastCollectionDate(String date) { | ||
this.date = date; | ||
} | ||
|
||
public static boolean isValidCollectionDate(String date) { | ||
return true; | ||
} | ||
|
||
public String getDate() { | ||
return date; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package safeforhall.model.person; | ||
|
||
public class LastFetDate { | ||
|
||
public static final String MESSAGE_CONSTRAINTS = "TODO"; | ||
|
||
public final String date; | ||
|
||
public LastFetDate(String date) { | ||
this.date = date; | ||
} | ||
|
||
public static boolean isValidFetDate(String date) { | ||
return true; | ||
} | ||
|
||
public String getDate() { | ||
return date; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...afeforhall/model/resident/VaccStatus.java → .../safeforhall/model/person/VaccStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
src/main/java/safeforhall/model/resident/LastCollectionDate.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.