forked from nus-cs2103-AY2425S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from liauzhanyi/load-sample-command
Enhance seed command
- Loading branch information
Showing
2 changed files
with
15 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,38 +25,38 @@ public static Person[] getSamplePersons() { | |
return new Person[] { | ||
new Person(new Name("Alex Yeoh"), new Phone("87438807"), | ||
Optional.of(new Email("[email protected]")), | ||
Optional.of(new Address("Blk 30 Geylang Street 29, #06-40")), getTagSet("friends"), | ||
Optional.of(new Address("Blk 30 Geylang Street 29, #06-40")), getTagSet("elderly"), | ||
Optional.of(new DateOfLastVisit("01-01-2024")), | ||
Optional.of(new EmergencyContact("91234567")), | ||
new Remark("")), | ||
new Person(new Name("Bernice Yu"), new Phone("99272758"), | ||
Optional.of(new Email("[email protected]")), | ||
Optional.of(new Address("Blk 30 Lorong 3 Serangoon Gardens, #07-18")), | ||
getTagSet("colleagues", "friends"), Optional.of(new DateOfLastVisit("02-02-2024")), | ||
getTagSet("single mother", "2 kids"), Optional.of(new DateOfLastVisit("02-02-2024")), | ||
Optional.of(new EmergencyContact("91234567")), | ||
new Remark("Lives in HDB and has 3 children")), | ||
new Remark("Follow up on children's education progress")), | ||
new Person(new Name("Charlotte Oliveiro"), new Phone("93210283"), | ||
Optional.of(new Email("[email protected]")), | ||
Optional.of(new Address("Blk 11 Ang Mo Kio Street 74, #11-04")), | ||
getTagSet("neighbours"), Optional.of(new DateOfLastVisit("03-03-2024")), | ||
getTagSet("low income"), Optional.of(new DateOfLastVisit("03-03-2024")), | ||
Optional.of(new EmergencyContact("91234567")), | ||
new Remark("")), | ||
new Person(new Name("David Li"), new Phone("91031282"), | ||
Optional.of(new Email("[email protected]")), | ||
Optional.of(new Address("Blk 436 Serangoon Gardens Street 26, #16-43")), | ||
getTagSet("family"), Optional.of(new DateOfLastVisit("04-04-2024")), | ||
getTagSet("disability"), Optional.of(new DateOfLastVisit("04-04-2024")), | ||
Optional.of(new EmergencyContact("98765432")), | ||
new Remark("Has no children")), | ||
new Remark("Look for job opportunities")), | ||
new Person(new Name("Irfan Ibrahim"), new Phone("92492021"), | ||
Optional.of(new Email("[email protected]")), | ||
Optional.of(new Address("Blk 47 Tampines Street 20, #17-35")), | ||
getTagSet("classmates"), Optional.of(new DateOfLastVisit("05-05-2024")), | ||
getTagSet("ex-convict"), Optional.of(new DateOfLastVisit("05-05-2024")), | ||
Optional.of(new EmergencyContact("91234567")), | ||
new Remark("Has no family")), | ||
new Remark("Violent tendencies")), | ||
new Person(new Name("Roy Balakrishnan"), new Phone("92624417"), | ||
Optional.of(new Email("[email protected]")), | ||
Optional.of(new Address("Blk 45 Aljunied Street 85, #11-31")), | ||
getTagSet("colleagues"), Optional.of(new DateOfLastVisit("06-06-2024")), | ||
getTagSet("elderly"), Optional.of(new DateOfLastVisit("06-06-2024")), | ||
Optional.of(new EmergencyContact("92492021")), new Remark(""))}; | ||
} | ||
|
||
|