{"action":"created","issue":{"url":"https://api.github.com/repos/myk27x/assignments/issues/9","labels_url":"https://api.github.com/repos/myk27x/assignments/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/myk27x/assignments/issues/9/comments","events_url":"https://api.github.com/repos/myk27x/assignments/issues/9/events","html_url":"https://github.com/myk27x/assignments/issues/9","id":105425271,"number":9,"title":"Assignment 3-1 - TIY Database","user":{"login":"gstark","id":2607,"avatar_url":"https://avatars.githubusercontent.com/u/2607?v=3","gravatar_id":"","url":"https://api.github.com/users/gstark","html_url":"https://github.com/gstark","followers_url":"https://api.github.com/users/gstark/followers","following_url":"https://api.github.com/users/gstark/following{/other_user}","gists_url":"https://api.github.com/users/gstark/gists{/gist_id}","starred_url":"https://api.github.com/users/gstark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gstark/subscriptions","organizations_url":"https://api.github.com/users/gstark/orgs","repos_url":"https://api.github.com/users/gstark/repos","events_url":"https://api.github.com/users/gstark/events{/privacy}","received_events_url":"https://api.github.com/users/gstark/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"myk27x","id":13789312,"avatar_url":"https://avatars.githubusercontent.com/u/13789312?v=3","gravatar_id":"","url":"https://api.github.com/users/myk27x","html_url":"https://github.com/myk27x","followers_url":"https://api.github.com/users/myk27x/followers","following_url":"https://api.github.com/users/myk27x/following{/other_user}","gists_url":"https://api.github.com/users/myk27x/gists{/gist_id}","starred_url":"https://api.github.com/users/myk27x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myk27x/subscriptions","organizations_url":"https://api.github.com/users/myk27x/orgs","repos_url":"https://api.github.com/users/myk27x/repos","events_url":"https://api.github.com/users/myk27x/events{/privacy}","received_events_url":"https://api.github.com/users/myk27x/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-08T16:56:59Z","updated_at":"2015-09-11T14:34:48Z","closed_at":"2015-09-10T03:48:48Z","body":"You have been hired to create an app to manage information about employees and students. Create an application that can add, search, and delete employees and students from a master list.\r\n\r\n## Explorer Mode\r\n\r\n- [x] The main loop of the application should show a menu of options to the user to include at least: `Add a person`, `Search for a person`, `Delete a person`\r\n  - _HINT_: Show the list of options and allow the user to enter `A` for `Add`, `S` for `Search` and `D` for `Delete`\r\n- [x] When adding a person, prompt if the person is an employee or student and create the right type of person\r\n  - [x] For an employee track the following information: `Name, Phone number, Address, Position, Salary, Date Hired, Slack Account, Github Account`\r\n  - [x] For a student track the following information: `Name, Phone number, Address, Slack Account, Github Account`\r\n- [x] When searching for a person, prompt for the name and search for an exact match\r\n  - [x] If the person is found, show all their relevant information.\r\n  - [x] Show the information in a nice presentation.\r\n  - [x] Employees should show, via a _method_, `Has been a PPPP for at least YYYY years` where `PPPP` is their position and `YYYY` is how many years they have held that position.\r\n  - [x] If a person is not found, inform the user\r\n- [x] When deleting a person, prompt for the name and search for an exact match. If found, delete the person, otherwise tell the user there wasn't a match.\r\n- **Requirement**: Your system must keep a **single** array holding all of the people.\r\n- **Hint**: Use _classes_, _inheritance_, and maybe even _modules_ to your advantage\r\n\r\n## Adventure mode\r\n\r\n- [ ] Update the search to allow search for a partial match against the person's name\r\n- [x] Don't allow creating a new person if their name already exists\r\n- [x] Add one more data element that is the same for both employees and students\r\n- [x] Add one more data element that is unique for an employee\r\n- [x] Add one more data element that is unique for a student\r\n\r\n## Epic Mode\r\n\r\n- [ ] Allow searching by `position`, `name`, `Slack Account`, or `Github Account`\r\n  - [ ] If searching by position, show the name of all people matching the position\r\n- [ ] Create a new menu option that shows a report containing:\r\n  - [ ] For each position, show the minimum, maximum, and average salary.\r\n  - [ ] The number of employees for each position\r\n  - [ ] The names of each employee in that position\r\n"},"comment":{"url":"https://api.github.com/repos/myk27x/assignments/issues/comments/139562389","html_url":"https://github.com/myk27x/assignments/issues/9#issuecomment-139562389","issue_url":"https://api.github.com/repos/myk27x/assignments/issues/9","id":139562389,"user":{"login":"gstark","id":2607,"avatar_url":"https://avatars.githubusercontent.com/u/2607?v=3","gravatar_id":"","url":"https://api.github.com/users/gstark","html_url":"https://github.com/gstark","followers_url":"https://api.github.com/users/gstark/followers","following_url":"https://api.github.com/users/gstark/following{/other_user}","gists_url":"https://api.github.com/users/gstark/gists{/gist_id}","starred_url":"https://api.github.com/users/gstark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gstark/subscriptions","organizations_url":"https://api.github.com/users/gstark/orgs","repos_url":"https://api.github.com/users/gstark/repos","events_url":"https://api.github.com/users/gstark/events{/privacy}","received_events_url":"https://api.github.com/users/gstark/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T14:34:48Z","updated_at":"2015-09-11T14:34:48Z","body":"Looks good!"}}