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

модель - контроллер #14

Open
PilgininIgor opened this issue Jan 17, 2016 · 0 comments
Open

модель - контроллер #14

PilgininIgor opened this issue Jan 17, 2016 · 0 comments

Comments

@PilgininIgor
Copy link
Collaborator

  1. можно получить все отделы и всех сотрудников как массивы
  2. поиск и удаление по id и имени осуществляется через контроллер
  3. обращение к полям через гетеры и сетеры классов
  4. отделы уникальны по своему названию
  5. сотрудники - по имени и фамилии
  6. отдел, не имеющий руководителя, в поле directorId содержит значение -1
  7. id для отделов и сотрудников генерируется посредством двух последовательностей(как в бд)
  8. (пока убрал все исключительные ситуации)
  9. при удалении отдела удаляются все сотрудники работающие в нем
@PilgininIgor PilgininIgor changed the title вынес логику в контроллер модель - контроллер Jan 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant