Data models

Businesses

  • All customers are 1 parent : X businesses
  • Deep hierarchies are represented via tags & naming convention
  • User accounts are associated with parent & businesses separately.

Today

Proposal

  • "Organization" - recursive container
  • "Location" - individual restaurant

Users, Teams, and Roles

  • User accounts are tied to businesses
  • Users belong to exactly 1 team
  • Access control is split between roles & teams

Today

Proposal

  • User accounts are managed separately from businesses
  • Users may belong to any number of teams
  • Roles are assigned to (users or teams) on (organizations or locations), and cascade

Context

  • User accounts are tied to businesses
  • Implicit context for some views
  • Explicit context for others

Today

Proposal

  • View context selection becomes explicit & standardized

Core data model

By autoric

Core data model

  • 432