emergency

Tables (5)

Direction (거리)

  • 거리id (id) — BIGINT(19) — Primary key — NOT NULL
  • 거리 (Field) — DOUBLE
  • 현재위치주소 (input_address) — VARCHAR(255)
  • 현재위치위도 (input_latitude) — DOUBLE
  • 현재위치경도 (input_longitude) — DOUBLE
  • 목표응급실명 (Field2) — VARCHAR(255)
  • 목표응급실주소 (target_address) — VARCHAR(255)
  • 목표응급실위도 (target_latitude) — DOUBLE
  • 목표응급실경도 (target_longitude) — DOUBLE
  • 생성일자 (created_at) — DATETIME
  • 수정일자 (modified_at) — DATETIME

Emergency (응급실)

  • 응급실id (id) — BIGINT(19) — Primary key — NOT NULL
  • 주소 (emergency_address) — VARCHAR(255)
  • 병원분류 (hospital_type) — VARCHAR(100)
  • 기관설명상세 (institution_description_detail) — TEXT
  • 기관명 (emergency_name) — VARCHAR(255)
  • 대표전화 (main_phone) — VARCHAR(20)
  • 응급실전화 (emergency_phone) — VARCHAR(20)
  • 진료시작시간 (consultation_time_start) — VARCHAR(20)
  • 진료종료시간 (consultation_time_end) — VARCHAR(20)
  • 경도 (longitude) — DOUBLE
  • 위도 (latitude) — DOUBLE
  • 생성일자 (created_at) — DATETIME
  • 수정일자 (modified_at) — DATETIME

Favorite (즐겨찾기)

  • 즐겨찾기id (id) — BIGINT(19) — Primary key — NOT NULL
  • 응급실id (emergency_id) — BIGINT(19) — Foreign key → Emergency.응급실id — NOT NULL
  • 사용자id (user_id) — BIGINT(19) — Foreign key → User.사용자id — NOT NULL
  • 생성일자 (created_at) — DATETIME
  • 수정일자 (modified_at) — DATETIME

Reviews (후기)

  • 후기id (id) — BIGINT(19) — Primary key — NOT NULL
  • 응급실id (emergency_id) — BIGINT(19) — Foreign key → Emergency.응급실id — NOT NULL
  • 사용자id (user_id) — BIGINT(19) — Foreign key → User.사용자id — NOT NULL
  • 생성일자 (created_at) — DATETIME
  • 수정일자 (Field2) — DATETIME

User (사용자)

  • 사용자id (id) — BIGINT(19) — Primary key — NOT NULL
  • 이름 (name) — VARCHAR(255)
  • 이메일 (email) — VARCHAR(255)
  • 닉네임 (nickname) — VARCHAR(255)
  • 생성일자 (created_at) — DATETIME
  • 수정일자 (modified_at) — DATETIME