weddingOn
Tables (8)
commets (댓글)
- 댓글번호 (comment_id) — int — Primary key — NOT NULL
- 게시글 번호 (post_id) — int — Foreign key → posts.게시글 번호 — NOT NULL
- 회원번호 (userID) — int — Foreign key → users.회원번호 — NOT NULL
- 내용 (content) — text
- 작성시간 (created_at) — datetime
companies (기업정보)
- 기업번호 (company_id) — int — Primary key — NOT NULL
- 기업명 (company_name) — varchar(255)
- 주소 (address) — varchar(255)
- 정보요약 (summary) — text
- 별점 (rating) — decimal(2,1)
- 계정생성시간 (created_at) — datetime
- 카테고리 (category) — varchar(100)
- 사진경로 (image_path) — varchar(255)
- 시설정보 (facilities) — text
- 예약공지 (reservation_notice) — text
favorites (좋아요목록)
- 좋아요 번호 (favorite_id) — int — Primary key — NOT NULL
- Field
- 회원번호 (userID) — int — Foreign key → users.회원번호 — NOT NULL
- 기업번호 (company_id) — int — Foreign key → companies.기업번호 — NOT NULL
- 작성시간 (created_at) — datetime
messages (대화목록)
- 채팅번호 (message_id) — int — Primary key — NOT NULL
- 기업번호 (chat_id) — int — Foreign key → companies.기업번호 — NOT NULL
- 전송ID (sender_id) — int — Foreign key → users.회원번호 — NOT NULL
- 수신ID (receiver_id) — int — Foreign key → users.회원번호 — NOT NULL
- 메시지 내용 (message_text) — text
- 전송시간 (sent_at) — datetime
- 메시지보내는 유형 (sender_type) — tinyint(1)
- Field
posts (게시글)
- 게시글 번호 (post_id) — int — Primary key — NOT NULL
- 제목 (title) — varchar(255)
- 회원번호 (userID) — int — Foreign key → users.회원번호 — NOT NULL
- 내용 (content) — text
- 업로드날자 (created_at) — datetime
reviews (후기)
- 리뷰번호 (review_id) — int — Primary key — NOT NULL
- 기업번호 (company_id) — int — Foreign key → companies.기업번호 — NOT NULL
- 사용자ID (id) — varchar(50) — Foreign key → users.회원번호 — NOT NULL
- 전체평점 (overall_rating) — decimal(2,1)
- 교통평점 (traffic_rating) — decimal(2,1)
- 주차평점 (parking_rating) — decimal(2,1)
- 분위기평점 (atmosphere_rating) — decimal(2,1)
- 가격평점 (price_rating) — decimal(2,1)
- 위치 평점 (location_rating) — decimal(2,1)
- 후기 내용 (review_text) — text
- 작성시간 (created_at) — datetime
user_calendar (사용자일정)
- 일정번호 (calendar_id) — int — Primary key — NOT NULL
- 회원번호 (userID) — int — Foreign key → users.회원번호 — NOT NULL
- 일정제목 (event_title) — varchar(255)
- 일정 날자 (event_date) — date
- 작성시간 (created_at) — datetime
users (사용자정보)
- 회원번호 (userID) — int — Primary key — NOT NULL
- 사용자 이름 (name) — varchar(100)
- 사용자아이디 (id) — varchar(50)
- 비밀번호 (password) — varchar(50)
- 전화번호 (phone_num) — varchar(50)
- 이메일 (email) — varchar(50)
- 생년월일 (birth_date) — date
- 결혼예정일 (wedding_date) — date
- 계정생성일 (created_at) — datetime
- 계정유형구분 (is_company) — tinyint(1)
- 기업ID (company_id) — int — Foreign key → companies.기업번호 — NOT NULL