Difference between revisions of "HypertWiki:Sandbox"

From HypertWiki
Jump to navigation Jump to search
Line 4: Line 4:
*'''Markets'''
*'''Markets'''
*'''Stores'''
*'''Stores'''
**id
**name
**info
**market_id
*'''Locations'''
*'''Users'''
**id
**id
**name_etc
**name_etc
**type_id
**type_id
*'''Locations'''
*'''Users'''
*'''Leads'''
*'''Leads'''
**assigned_user_id
**assigned_user_id

Revision as of 21:32, 1 September 2005

Tene's app chalkboard / back-of-envelope

Tables

  • Markets
  • Stores
    • id
    • name
    • info
    • market_id
  • Locations
  • Users
    • id
    • name_etc
    • type_id
  • Leads
    • assigned_user_id

Each user has a role_id; possible roles include:

  • associates - can only see things (e.g. leads, contacts) assigned to them
  • managers - can see everything assigned to anyone in the store
  • strategists - can see anything assigned to anyone in the market
  • corporate - can see everything