capstone

Tables (6)

Comment (댓글)

  • 댓글ID (comment_id) — BigInt — Primary key — NOT NULL
  • 내용 (content) — Varhcar2 — NOT NULL
  • 생성일 (created_at) — Timestamp — NOT NULL
  • 수정일 (updated_at) — Timestamp — NOT NULL
  • 유저ID (user_id) — BigInt — Foreign key → User.유저ID — NOT NULL
  • 게시글ID (post_id) — BigInt — Foreign key → Post.게시글ID — NOT NULL

Diagnosis (진단기록)

  • 진단ID (diagnosis_id) — BigInt — Primary key — NOT NULL
  • 진단타입 (diagnosis_type) — Enum — NOT NULL
  • 피부이미지url (skin_image_url) — Varchar2 — NOT NULL
  • 진단결과 (result) — Varchar2 — NOT NULL
  • 신뢰도점수 (confidence_score) — Integer — NOT NULL
  • 생성일 (created_at) — Timestamp — NOT NULL
  • 수정일 (updated_at) — Timestamp — NOT NULL
  • 유저ID (user_id) — BigInt — Foreign key → User.유저ID — NOT NULL

DiagnosisInfo (진단 정보)

  • 진단정보ID (diagnosisInfo_id) — BigInt — Primary key — NOT NULL
  • 진단결과 (dianosis_result) — Varchar2 — NOT NULL
  • 설명 (description) — Varchar2 — NOT NULL
  • 가이드라인 (guideline) — Varchar2 — NOT NULL
  • 생성일 (created_at) — Timestamp — NOT NULL
  • 수정일 (updated_at) — Timestamp — NOT NULL

Favorite_Hospital (즐겨찾기 병원)

  • 즐겨찾기병원ID (favorite_hospital_id) — BigInt — Primary key — NOT NULL
  • 병원이름 (hospital_name) — Varchar2 — NOT NULL
  • 주소 (address) — Varchar2 — NOT NULL
  • 위도 (latitude) — Double — NOT NULL
  • 경도 (longitude) — Double — NOT NULL
  • 전화번호 (phone_number) — Varchar2 — NOT NULL
  • 생성일 (created_at) — Timestamp — NOT NULL
  • 수정일 (updated_at) — Timestamp — NOT NULL
  • 유저ID (user_id) — BigInt — Foreign key → User.유저ID — NOT NULL

Post (게시글)

  • 게시글ID (post_id) — BigInt — Primary key — NOT NULL
  • 제목 (title) — Varchar2 — NOT NULL
  • 내용 (content) — Varchar2 — NOT NULL
  • 게시글종류 (post_type) — Enum — NOT NULL
  • 생성일 (created_at) — Timestamp — NOT NULL
  • 수정일 (updated_at) — Timestamp — NOT NULL
  • 유저ID (user_id) — BigInt — Foreign key → User.유저ID — NOT NULL

User (사용자)

  • 유저ID (user_id) — BigInt — Primary key — NOT NULL
  • 유저이름 (username) — Varchar2 — NOT NULL
  • 아이디 (login_id) — Varchar2 — NOT NULL
  • 비밀번호 (password) — Varchar2
  • 이메일 (email) — Varchar2 — NOT NULL
  • 나이 (age) — Integer
  • 성별 (gender) — Varchar2
  • 주소 (address) — Varchar2
  • 역할 (role) — Varchar2
  • 생성일 (created_at) — Timestamp — NOT NULL
  • 수정일 (updated_at) — Timestamp — NOT NULL