생태지도

테이블 (7)

Biology Encyclopedia

  • creature_id — int — 외래 키 → 생물.creature_id — NOT NULL
  • id (id2) — long — 외래 키 → User.id — NOT NULL — 기본생성
  • added_date — DATE — 프론트에서 받음

User

  • id — long — 기본 키 — NOT NULL — 기본생성
  • userId — varchar(255) — NOT NULL — 아이디
  • password — varchar(255) — NOT NULL — 비밀번호
  • email — varchar(255) — NOT NULL — 이메일

detail_category (Untitled)

  • category_id — int — 기본 키 — NOT NULL
  • category_name — String — NOT NULL — 1=양서류, 2=파츙류, 3=꽃, 4=.....

메인카테고리 (MainCategory)

  • Main_category_id — 기본 키 — NOT NULL — 동물=1 , 식물 =2
  • Main_category_name — 동물, 식물

생물 (creature)

  • creature_id — int — 기본 키 — NOT NULL
  • creature_protection_class — int — NOT NULL — 1=위급, 2=위기, 3=취약, 4=관심, 5=미분류
  • creature__information (creature_information) — String — NOT NULL — 생물 정보
  • image_url — String — NOT NULL — CDN 이미지 url
  • Main_category_id — 외래 키 → 메인카테고리.Main_category_id — NOT NULL — 동물=1 , 식물 =2
  • category_id — int — 외래 키 → detail_category.category_id — NOT NULL
  • creature_name — String — NOT NULL
  • IsSpring — bool — NOT NULL
  • IsSummer — bool — NOT NULL
  • IsFall — bool — NOT NULL
  • IsWinter — bool — NOT NULL

생물 문제 (CreatureQuiz)

  • creature_id — int — 외래 키 → 생물.creature_id — NOT NULL
  • quiz1 — String — NOT NULL
  • quiz2 — String — NOT NULL
  • quiz3 — String — NOT NULL
  • quiz1Answer — NOT NULL — O=1, X=0
  • quiz2Answer — NOT NULL — O=1,X=0
  • quiz3Answer — NOT NULL — O=1,X=0
  • quiz1Solution — String — NOT NULL — quiz1 솔루션
  • quiz2Solution — String — NOT NULL — quiz2 솔루션
  • quiz3Solution — String — NOT NULL — quiz3 솔루션

생물 위치 (creature_location)

  • id — 기본 키 — NOT NULL — 고유id
  • creature_latitude — int — NOT NULL — 위도정보
  • creature_longitude — int — NOT NULL — 경도정보
  • creature_id — int — 외래 키 → 생물.creature_id — NOT NULL
  • location_name — String — NOT NULL — 장소이름