SDM(public)

테이블 (21)

고객센터 (center)

  • 고객센터 (center_no) — number — 기본 키 — NOT NULL
  • 회원아이디 (center_member_id) — varchar2(40) — 외래 키 → 회원.아이디 — NOT NULL
  • 관리자 아이디 (center_admin_id) — varchar2(40) — 외래 키 → 관리자.관리자 아이디 — NOT NULL
  • 제목 (center_title) — varchar2(300)
  • 회원내용 (center_member_content) — varchar2(4000)
  • 회원등록일 (center_member_date) — date
  • 관리자내용 (center_admin_content) — varchar2(4000)
  • 관리자등록일 (center_admin_date) — date

고객센터이미지 (center_img)

  • 첨부파일 번호 (center_attachment_no) — number — 외래 키 → 첨부파일.첨부파일 번호 — NOT NULL
  • 고객센터 (center_no) — number — 외래 키 → 고객센터.고객센터 — NOT NULL

공지사항 (notice)

  • 공지사항 번호 (notice_no) — number — 기본 키 — NOT NULL
  • 관리자 아이디 (notice_id) — varchar2(40) — 외래 키 → 관리자.관리자 아이디 — NOT NULL
  • 제목 (notice_title) — varchar2(60)
  • 내용 (notice_content) — varchar2(4000)
  • 조회수 (notice_view) — number
  • 작성일 (notice_write_time) — date
  • 수정일 (notice_update_time) — date

공지사항이미지 (notice_img)

  • 공지사항 번호 (notice_no) — number — 외래 키 → 공지사항.공지사항 번호 — NOT NULL
  • 첨부파일 번호 (notice_attachment_no) — number — 외래 키 → 첨부파일.첨부파일 번호 — NOT NULL

관리자 (admin)

  • 관리자 아이디 (admin_id) — varchar2(40) — 기본 키 — NOT NULL
  • 닉네임 (admin_nick) — varchar2(30)
  • 비밀번호 (admin_pw) — varchar2(40)

관심 매장 (interest)

  • 아이디 (interest_member_id) — varchar2(40) — 외래 키 → 회원.아이디 — NOT NULL
  • 매장 번호 (interest_shop_no) — number — 외래 키 → 매장.매장 번호 — NOT NULL

매장 (shop)

  • 매장 번호 (shop_no) — number — 기본 키 — NOT NULL
  • 카테고리 (category) — varchar2(30) — 외래 키 → 매장종류.카테고리 — NOT NULL
  • 매장 이름 (shop_name) — varchar2(30)
  • 매장 전화번호 (shop_tel) — varchar2()
  • 기본주소 (shop_basic_address) — varchar2()
  • 상세주소 (shop_detail_address) — varchar2()
  • 좌표x (shop_location_x) — number
  • 좌표y (shop_location_y) — number
  • 예약금 (shop_deposit) — varchar2(3)
  • 매장소개글 (shop_introdution) — varchar2(4000)
  • 매장관심수 (shop_interest) — number

매장 이미지 (shop_img)

  • 첨부파일 번호 (attachment_no) — number — 외래 키 → 첨부파일.첨부파일 번호 — NOT NULL
  • 매장 번호 (shop_no) — number — 외래 키 → 매장.매장 번호 — NOT NULL

매장근무요일 (shop_workingday)

  • 매장 번호 (shop_no) — number — 외래 키 → 매장.매장 번호 — NOT NULL
  • 요일 (weekday) — char(3)
  • 운영시작시간 (open) — date
  • 운영끝시간 (close) — date

매장종류 (shop_type)

  • 카테고리 (category) — varchar2(30) — 기본 키 — NOT NULL

매장주인 (host)

  • 아이디 (host_id) — varchar2(40) — 기본 키 — NOT NULL
  • 첨부파일 번호 (attachment_no) — number — 외래 키 → 첨부파일.첨부파일 번호 — NOT NULL
  • 비밀번호 (host_pw) — varchar2(40)
  • 닉네임 (host_nick) — varchar2(30)
  • 전화번호 (host_phone) — char(11)

문의 (inquiry)

  • 문의방랜덤번호 (inquiry_no) — varchar2() — 기본 키 — NOT NULL
  • 아이디 (inquiry_id) — varchar2(40)
  • 메세지 (inquiry_content) — varchar2(4000)
  • 시각 (inquiry_time) — date

예약 (reservation)

  • 예약번호 (reservation_no) — number — 기본 키 — NOT NULL
  • 아이디 (reservation_member_id) — varchar2(40) — 외래 키 → 회원.아이디 — NOT NULL
  • 매장 번호 (reservation_shop_no) — number — 외래 키 → 매장.매장 번호 — NOT NULL
  • 예약날짜 (reservation_date) — date
  • 예약시간 (reservation_time) — varchar(4)
  • 예약여부 (reservation_possible) — char(1)

이메일 인증 (cert)

  • 아이디 (cert_id) — varchar2(40) — 기본 키 — NOT NULL
  • 인증번호 (cert_serial) — char(6)
  • 인증번호 발송 시간 (cert_time) — date

주인매장 (host_shop)

  • 아이디 (host_id) — varchar2(40) — 외래 키 → 매장주인.아이디 — NOT NULL
  • 매장 번호 (shop_no) — number — 외래 키 → 매장.매장 번호 — NOT NULL

첨부파일 (attachment)

  • 첨부파일 번호 (attachment_no) — number — 기본 키 — NOT NULL
  • 첨부파일명 (attachment_name) — varchar2(256)
  • 첨부파일 유형 (attachment_type) — varchar2(30)
  • 첨부파일 크기 (attachment_size) — number
  • 첨부파일 업로드 시각 (attachment_date) — date

커플 (member_couple)

  • 커플아이디1 (couple_member_id1) — varchar2(40) — 외래 키 → 회원.아이디 — NOT NULL
  • 커플아이디2 (couple_member-id2) — varchar2(40)
  • 수락여부 (couple_matching) — char(1)

평가 (review_grade)

  • 아이디 (review_grade_member_id) — varchar2(40) — 외래 키 → 회원.아이디 — NOT NULL
  • 매장 번호 (review_grade_shop_no) — number — 외래 키 → 후기.매장 번호 — NOT NULL
  • 평점평가 (review_grade_graduation) — char(1)

회원 (member)

  • 아이디 (member_id) — varchar2(40) — 기본 키 — NOT NULL
  • 첨부파일 번호 (attachment_no) — number — 외래 키 → 첨부파일.첨부파일 번호 — NOT NULL
  • 닉네임 (member_nick) — varchar2(30)
  • 비밀번호 (member_pw) — varchar2(40)
  • 생년월일 (member_birth) — date
  • 전화번호 (member_phone) — char(11)
  • 결혼예정일 (member_due_date) — date
  • 성별 (member_gender) — char(1)
  • 가입일 (member_join) — date
  • 로그인일 (member_login) — date

후기 (review)

  • 매장 번호 (review_shop_no) — number — 외래 키 → 매장.매장 번호 — NOT NULL
  • 아이디 (review_member_id) — varchar2(40) — 외래 키 → 회원.아이디 — NOT NULL
  • 점수 (review_point) — number(2)
  • 리뷰내용 (review_content) — varchar2(300)

후기 이미지 (review_img)

  • 첨부파일 번호 (review_attachment_no) — number — 외래 키 → 첨부파일.첨부파일 번호 — NOT NULL
  • 매장 번호 (review_shop_no) — number — 외래 키 → 후기.매장 번호 — NOT NULL