AI 10팀 TOPTEN
테이블 (7)
Bins (쓰레기통위치)
- 쓰레기통위치일련번호 (id) — string — 기본 키 — NOT NULL
- 자치구 (region) — string — NOT NULL
- 도로명 (roads) — string — NOT NULL
- 상세주소 (details) — string
- 설치지점 (points) — string — NOT NULL
- 전체주소(도로명) (address) — string — NOT NULL
- 쓰레기통유형 (type) — string — NOT NULL
- x좌표 (x) — string — NOT NULL
- y좌표 (y) — string — NOT NULL
News (뉴스)
- 뉴스일련번호 (id) — string — 기본 키 — NOT NULL
- 뉴스제목 (title) — string — NOT NULL
- 뉴스url (url) — string — NOT NULL
Post (게시물)
- 게시물일련번호 (id) — string — 기본 키 — NOT NULL
- 유저일련번호 (author(UserId)) — string — 외래 키 → User.유저일련번호 — NOT NULL
- 내용 (content) — string — NOT NULL
- 댓글(작성자, 댓글내용) (comments) — [object] — NOT NULL
Quiz (퀴즈)
- 퀴즈일련번호 (id) — string — 기본 키 — NOT NULL
- 퀴즈 제목 (title) — string
- 퀴즈 선택지 (options) — [string]
- 퀴즈 정답 (answer) — string — NOT NULL
- 퀴즈 결과 정보 (result) — object — NOT NULL
- 퀴즈 유형 (type) — string — NOT NULL — 객관식 or OX or 2지선다
- 퀴즈 이미지 (image) — string — NOT NULL
Robot (쓰레기회수로봇)
- 쓰레기회수로봇일련번호 (id) — string — 기본 키 — NOT NULL
- 상세위치 (name) — string — NOT NULL
- 상세주소 (address) — string — NOT NULL
- 위치정보(타입, 좌표) (location) — object — NOT NULL
Trash (쓰레기)
- 쓰레기일련번호 (id) — string — 기본 키 — NOT NULL
- 쓰레기 이름 (title) — string — NOT NULL
- 쓰레기 설명 (description) — object — NOT NULL — 버리는 방법, 유의사항 등
- 쓰레기 이미지 (image) — string — NOT NULL
- 쓰레기 재활용 여부 (recycle) — boolean — NOT NULL
- 쓰레기 카테고리 (category) — string — NOT NULL — 쓰레기가 분류되는 카테고리
User (유저)
- 유저일련번호 (id) — string — 기본 키 — NOT NULL
- 이메일 (email) — string — NOT NULL
- 이름 (username) — string — NOT NULL
- 비밀번호 (password) — string — NOT NULL
- 리프레시토큰 (token) — string