Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance seed command #177

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix tag formatting in sample data for consistency
liauzhanyi committed Nov 5, 2024
commit 14debab75949e3b1d0d65a822cb342c415f955d8
6 changes: 3 additions & 3 deletions src/main/java/seedu/address/model/util/SampleDataUtil.java
Original file line number Diff line number Diff line change
@@ -32,13 +32,13 @@ public static Person[] getSamplePersons() {
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("singleMother", "2kids"), 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("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("lowIncome"), 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"),
@@ -50,7 +50,7 @@ public static Person[] getSamplePersons() {
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("exConvict"), Optional.of(new DateOfLastVisit("05-05-2024")),
getTagSet("ex-convict"), Optional.of(new DateOfLastVisit("05-05-2024")),
Optional.of(new EmergencyContact("91234567")),
new Remark("Violent tendencies")),
new Person(new Name("Roy Balakrishnan"), new Phone("92624417"),