• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

julianrios/Maven.Spring-EmployeeDirectory

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

julianrios/Maven.Spring-EmployeeDirectory

开源软件地址(OpenSource Url):

https://github.com/julianrios/Maven.Spring-EmployeeDirectory

开源编程语言(OpenSource Language):

Java 100.0%

开源软件介绍(OpenSource Introduction):

Persistence Project: Employee Directory Application

In this project you will be creating an employee directory system. You will be able to modify and query the directory and the entries within.

Description

You have been assigned to the HR Technology Implementation team and will be building a new corporate directory for your company. The first feature needed by this directory is an API that mobile and web apps can query to get the structure of the company's workforce. All employees in the company will be represented by the same object (Employee), but some of them are managers and some report to managers (you may even have middle managers who manage employees but also report to another manager themselves).

The company is also organized into different divisions (Departments), each of which must have a department-wide manager. All employees in that department should eventually report up to the department manager, and assigning an employee a new manager should also place that employee within their manager's department.

Entities

This application will manage the following entities:

Employee Entity

  • Employee number
  • First name
  • Last name
  • Title
  • Phone number
  • Email
  • Hire date
  • Manager
  • Department number(key from Department.dpt_num)

Department Entity

  • Department number
  • Department name
  • Department Manager (an employee)

API Endpoints

You should provide a series of API endpoints for interacting with the directory. All endpoints should have a URI that begins with /API. These endpoints will provide RESTful access to the application and changes will be persisted to the database.

Provide the following endpoints:

  • Create employee (Via POST)
  • Create a Department
  • Update an employee to set their manager
  • Update other employee fields
  • Set a new department manager (Update department)
  • Change the name of a department
  • Get the list of employees under a particular manager
  • Get the entire reporting hierarchy for an employee (their manager + manager's manager etc.)
  • Get a list of employees with no assigned manager
  • Get all employees of a particular department
  • Get all employees who report directly or indirectly to a particular manager
    • This should still work for an employee who is not a manager -- they have no direct reports
  • Remove a particular employee or list of employees
  • Remove all employees from a particular department
  • Remove all employees under a particular manager (Including indirect reports)
  • Remove all direct reports to a manager. Any employees previously managed by the deleted employees should now be managed by the next manager up the hierarchy.
  • Get the department, title, or other attributes of a particular employee.
  • Merge departments (given two department names eg: A and B, move the manager of B to report to the manager of A, and update all other employees to be members of department A)



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap