-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tags and department roles for sample data
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,34 +28,34 @@ public static Employee[] getSampleEmployees() { | |
return new Employee[] { | ||
new Employee(new Name("Alex Yeoh"), new EmployeeId(), new Phone("87438807"), | ||
new Email("[email protected]"), new Address("Blk 30 Geylang Street 29, #06-40"), | ||
new Department("Marketing"), new Payroll(4000, 15), new LeaveCounter(), | ||
new Department("Finance"), new Payroll(4000, 15), new LeaveCounter(), | ||
Optional.of(LocalDate.parse("1998-09-08")), Optional.of(LocalDate.parse("2019-09-07")), | ||
new PicturePath(), getTagSet("friends")), | ||
new PicturePath(), getTagSet("Accountant")), | ||
new Employee(new Name("Bernice Yu"), new EmployeeId(), new Phone("99272758"), | ||
new Email("[email protected]"), new Address("Blk 30 Lorong 3 Serangoon Gardens, #07-18"), | ||
new Department("Marketing"), new Payroll(4000, 15), new LeaveCounter(), | ||
Optional.of(LocalDate.parse("1988-12-30")), Optional.of(LocalDate.parse("2019-09-07")), | ||
new PicturePath(), getTagSet("colleagues", "friends")), | ||
new PicturePath(), getTagSet("Marketing Manager")), | ||
new Employee(new Name("Charlotte Oliveiro"), new EmployeeId(), new Phone("93210283"), | ||
new Email("[email protected]"), new Address("Blk 11 Ang Mo Kio Street 74, #11-04"), | ||
new Department("Marketing"), new Payroll(4000, 15), new LeaveCounter(), | ||
new Department("Sales"), new Payroll(4000, 15), new LeaveCounter(), | ||
Optional.of(LocalDate.parse("1990-09-01")), Optional.of(LocalDate.parse("2019-09-07")), | ||
new PicturePath(), getTagSet("neighbours")), | ||
new PicturePath(), getTagSet("Sales Representative")), | ||
new Employee(new Name("David Li"), new EmployeeId(), new Phone("91031282"), | ||
new Email("[email protected]"), new Address("Blk 436 Serangoon Gardens Street 26, #16-43"), | ||
new Department("Sales"), new Payroll(4000, 15), new LeaveCounter(), | ||
new Department("Project Management"), new Payroll(4000, 15), new LeaveCounter(), | ||
Optional.of(LocalDate.parse("2000-03-21")), Optional.of(LocalDate.parse("2019-09-07")), | ||
new PicturePath(), getTagSet("family")), | ||
new PicturePath(), getTagSet("Project Manager")), | ||
new Employee(new Name("Irfan Ibrahim"), new EmployeeId(), new Phone("92492021"), | ||
new Email("[email protected]"), new Address("Blk 47 Tampines Street 20, #17-35"), | ||
new Department("Sales"), new Payroll(4000, 15), new LeaveCounter(), | ||
new Department("Information Technology"), new Payroll(4000, 15), new LeaveCounter(), | ||
Optional.of(LocalDate.parse("1999-04-07")), Optional.of(LocalDate.parse("2019-09-07")), | ||
new PicturePath(), getTagSet("classmates")), | ||
new PicturePath(), getTagSet("Software Developer")), | ||
new Employee(new Name("Roy Balakrishnan"), new EmployeeId(), new Phone("92624417"), | ||
new Email("[email protected]"), new Address("Blk 45 Aljunied Street 85, #11-31"), | ||
new Department("Sales"), new Payroll(4000, 15), new LeaveCounter(), | ||
new Department("Customer Service"), new Payroll(4000, 15), new LeaveCounter(), | ||
Optional.of(LocalDate.parse("1995-06-02")), Optional.of(LocalDate.parse("2019-09-07")), | ||
new PicturePath(), getTagSet("colleagues")) | ||
new PicturePath(), getTagSet("Customer Service Representative")) | ||
}; | ||
} | ||
|
||
|