매쉬보드 구역그루핑 고민

테이블 (11)

DwellTimeAnalysisUnit (Untitled5)

  • uid (Key) — 기본 키 — NOT NULL
  • place_id (Key2) — 외래 키 → Place.uid — NOT NULL

DwellTimeAnalysisUnitEventSourceGroup (Untitled9)

  • dwell_time_analysis_unit_id (Key) — 외래 키 → DwellTimeAnalysisUnit.uid — NOT NULL
  • custom_group_id (Key2) — 외래 키 → EventSourceGroup.uid — NOT NULL

EventSourceGroup (이벤트소스 그룹)

  • uid (Key) — 기본 키 — NOT NULL
  • place_id (Key2) — 외래 키 → Place.uid — NOT NULL
  • category (Field)
  • is_combined (Field2)
  • valid_from (Field3)
  • valid_to (Field4)

ItemAggregationOfEventSourceGroup (Untitled4)

  • id (Key) — 기본 키 — NOT NULL
  • event_source_group (Key2) — 외래 키 → EventSourceGroup.uid — NOT NULL
  • age (Field)
  • gender (Field2)
  • start_time (Field3)
  • count (Field4)
  • residence_sum (Field5)

ItemOfEventSourceGroup (Untitled)

  • id (Key) — 기본 키 — NOT NULL
  • event_source_group (Key2) — 외래 키 → EventSourceGroup.uid — NOT NULL
  • age (Field)
  • gender (Field2)
  • timestamp (Field3)
  • residence_time (Field4)

Line (라인)

  • uid (Key) — 기본 키 — NOT NULL
  • no_direction_line_id (Key2) — 외래 키 → NoDirectionLine.uid — NOT NULL

LineEventSourceGroup (라인과 이벤트소스 그룹 사이 중개모델)

  • line_id (Key) — 외래 키 → Line.uid — NOT NULL
  • custom_group_id (Key2) — 외래 키 → EventSourceGroup.uid — NOT NULL

NoDirectionLine (Untitled3)

  • uid (Key) — 기본 키 — NOT NULL
  • place_id (Key2) — 외래 키 → Place.uid — NOT NULL

Place (Untitled2)

  • uid (Key) — 기본 키 — NOT NULL

Zone (존)

  • uid (Key) — 기본 키 — NOT NULL
  • place_id (Key2) — 외래 키 → Place.uid — NOT NULL

ZoneEventSourceGroup (존과 이벤트소스 그룹 사이 중개모델)

  • zone_id (Key) — 외래 키 → Zone.uid — NOT NULL
  • custom_group_id (Key2) — 외래 키 → EventSourceGroup.uid — NOT NULL