3 Datastructure
Dominik Säume edited this page 2024-10-04 06:52:39 +00:00
%%{ init: { 'flowchart': { 'curve': 'linear' } } }%%
flowchart LR


subgraph em["Epmployee Microservice"]
  e["Employee"]
  e-->e_id(id)
  e-->e_first_name(first name)
  e-->e_last_name(last name)
  e-->e_phone_number(phone number)
  e-->e_city(city)
  e-->e_zip_code(zip code)
  e-->e_street(street)
  e-->e_skills(skill set)

  q["Qualification"]
  q-->q_id(id)
  q-->q_name(name)
end

subgraph pm["Project Microservice"]
  p["Projekt"]
  p-->p_id(id)
  p-->p_name(name)
  p-->p_admin_id(administrator id)
  p-->p_customer_id(customer)
  p-->p_goal(goal)
  p-->p_start(start)
  p-->p_planned_end(planned end)
  p-->p_real_end(real end)

  a["Allocation"]
  a-->a_employee_id(employee id)
  a-->a_project_id(project id)
  a-->a_role(role)
end

subgraph cm["Customer Microservice"]
  c["Customer"]
  c-->c_id(id)
end



%% Cross Data Struct Links (Relations)

p_admin_id o-----o e_id
p_customer_id o-----o c_id

a_employee_id o-----o e_id
a_project_id o-----o p_id
a_role o-----o q_id

linkStyle 22,23,24,25,26 stroke:green,stroke-width:2px;