병원로봇 프로젝트
테이블 (4)
로그 (Log)
- 로그ID (id) — int — 기본 키 — NOT NULL
- 로봇ID (robot_id) — int — 외래 키 → 로봇.로봇ID — NOT NULL
- 타입 (type) — varchar(8) — NOT NULL
- 메시지 (msg) — text — NOT NULL
- 발생시각 (logged_at) — timestamp — NOT NULL
로봇 (Robot)
- 로봇ID (id) — int — 기본 키 — NOT NULL
- 위치_x (pos_x) — float(4) — NOT NULL
- 위치_y (pos_y) — float(4) — NOT NULL
- 위치_z (pos_z) — float(4) — NOT NULL
- 방향_x (orient_x) — float(4) — NOT NULL
- 방향_y (orient_y) — float(4) — NOT NULL
- 방향_z (orient_z) — float(4) — NOT NULL
- 방향_w (orient_w) — float(4) — NOT NULL
- 배터리 (battery) — int
업무 (Task)
- 업무ID (id) — int — 기본 키 — NOT NULL
- 로봇ID (robot_id) — int — 외래 키 → 로봇.로봇ID
- 우선순위ID (priority_id) — int — 외래 키 → 우선순위.우선순위ID — NOT NULL
- 요청시각 (requested_at) — timestamp — NOT NULL
- 예정시각 (planned_at) — timestamp
- 시작시각 (started_at) — timestamp
- 완료시각 (finished_at) — timestamp
- 목표지점 (goal_points) — JSON — NOT NULL
우선순위 (Priority)
- 우선순위ID (id) — int — 기본 키 — NOT NULL
- 타입 (type) — varchar(8) — NOT NULL
- 한글타입 (ko_type) — varchar(8) — NOT NULL