first commit

This commit is contained in:
2024-11-07 17:44:29 +03:00
commit 643d6d8f65
247 changed files with 420800 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
App initialisation
------------------
1. Run app to deploy init data via app.py/create_app/create_application_defaults function
2. Login with super user which is defined in app.py/create_app/create_application_defaults function
3. Create a sub company @evyos.com/company/add
4. Connect Main Company[Evyos] 2-> Sub Company[New Company] evyos.com/company/available/organization
5. Add new people @evyos.com/people/add
6. Add new user @evyos.com/user/add [LATER]
7. Make new added people available for a certain duty or create new super user for new company @evyos.com/people/available/employee
Super User Actions with no event declared on system
---------------------------------------------------
@evyos.com/departments/add => Add new department
@evyos.com/duty/add => Attach new duty to new department
@evyos.com/staff/add => Add new staff to new department
Connect people to staff @evyos.com/employee/match
-> Logout with super user
-> Login with Sales Employee
----------------------------------------------------
1. Create a new building @evyos.com/building/build/add
2. Create a new build area @evyos.com/building/area/add
3. Create a new build part @evyos.com/building/part/add
4.

View File

@@ -0,0 +1,43 @@
Modules:
[Super User Module]
Services -> Action:
[Account]
-> Create Account
-> Update Account
-> Delete Account
-> List Account
[Address]
-> Create Address
-> Update Address
-> Delete Address
-> List Address
[Api]
[Application]
[Authentication]
[Build]
[Buildparts]
[Buildsection]
[Livingspaces]
[Company]
[Department]
[Duties]
[Duty]
[Employee]
[Staff]
[DecisionBook]
[DecisionBookItems]
[DecisionBookItemsDebits]
[DecisionBookPerson]
[Events]
[People]
[ProjectDecisionBook]
[Rules]
[Users]

View File

@@ -0,0 +1,49 @@
User Types
1. Employee
2. Occupant
[Login Action]
------Occupant------
Person -> User:
Company -> Department -> Duty -> Staff -> Employee -> Person | (n) Occupant -> Person
People[people_id] -> User[Login Intersect] -> BuildLivingSpace -> BuildPart -> Build -> Responsible Employee -> Company
Person [people_id]
- Occupant Type [occupant_id] + Build Part [build_parts_id]
------Employee------
Person -> User:
Company -> Department -> Duty -> Employee -> Person | (n) Employee
People[people_id] -> User[Login Intersect] -> Employee[staff_id] -> Staff -> Duty -> Department -> Company
1. Person [people_id]
2. Staff [staff_id]
Employee login TOKEN requires:
Company : evyos.com
Department : Satış Dep.
Duty : Temsilci
Employee: Berkay Karatay[Person]
(n) Occupant
Occupant: Melih[Person]
Occupant: Songül[Person]
Occupant: Günay[Person]
::Add middleware endpoint control