bungae_erd
Tables (9)
Bungae (bungae)
- 번개ID (bungae_id) — NOT NULL — Primary key — NOT NULL
- 타입 (bungae_type) — NOT NULL
- 제목 (bungae_name) — NOT NULL
- 설명 (bungae_description)
- 위치 (keyword) — NOT NULL
- 주소 (address) — NOT NULL
- 이미지주소 (bungae_image_path)
- 최대인원 (bungae_max_member) — NOT NULL
- 생성시간 (bungae_create_time) — NOT NULL
- 시작시간 (bungae_start_time) — NOT NULL
- 최소나이 (bungae_min_age) — NOT NULL
- 최대나이 (bungae_max_age) — NOT NULL
- 상태 (bungae_status) — NOT NULL
BungaeMember (bungae_member)
- 번개멤버ID (bungae_member_id) — NOT NULL — Primary key — NOT NULL
- 번개ID (bungae_id2) — NOT NULL — Foreign key → Bungae.번개ID — NOT NULL
- 유저키ID (id2) — NOT NULL — Foreign key → User.유저키ID — NOT NULL
- 주최자 (isOrganizer) — NOT NULL
ChatMessage (chat_message)
- 채팅ID (id) — NOT NULL — Primary key — NOT NULL
- 채팅방ID (chatroom_id)
- 보낸시간 (send_time) — NOT NULL
- 메세지 (message)
- 보낸사람 (sender)
- 타입 (type)
MessageInOffline (message_in_offline)
- ID (id) — NOT NULL — Primary key — NOT NULL
- 유저ID (user_id)
- 메세지 (message)
- 보낸사람닉네임 (sender_nickname)
- 보낸시간 (sended_time)
- 읽음여부 (is_read)
OfflineState (offline_state)
- ID (os_id) — NOT NULL — Primary key — NOT NULL
- 유저키ID (id) — NOT NULL — Foreign key → User.유저키ID — NOT NULL
- 상태 (offline_state)
- 마지막활동시간 (last_active)
SocketState (socket_state)
- ID (id) — NOT NULL — Primary key — NOT NULL
- 채팅방ID (chatroom_id)
- 유저ID (user_id)
- 상태 (state)
- 채팅발송시간 (closed_time)
User (user)
- 유저키ID (id) — NOT NULL — Primary key — NOT NULL
- 유저ID (user_id) — NOT NULL
- 비밀번호 (user_password) — NOT NULL
- 닉네임 (user_nick_name) — NOT NULL
- 이름 (user_name) — NOT NULL
- 생년월일 (user_birth_date) — NOT NULL
- 성별 (user_gender) — NOT NULL
- 전화번호 (user_tel) — NOT NULL
- 이메일 (user_email) — NOT NULL
- 생성시간 (created_at) — NOT NULL
- 상태 (status) — NOT NULL
UserProfile (user_profile)
- 프로필ID (id) — NOT NULL — Primary key — NOT NULL
- 유저키ID (user_id) — NOT NULL — Foreign key → User.유저키ID — NOT NULL
- 평점 (user_avg_rating) — NOT NULL
- 나이 (user_age) — NOT NULL
- 성별 (user_gender) — NOT NULL
- 정보 (user_info) — NOT NULL
- 프로필사진 (user_image) — NOT NULL
UserReview (user_review)
- 리뷰ID (review_id) — NOT NULL — Primary key — NOT NULL
- 프로필ID (id) — Foreign key → UserProfile.프로필ID — NOT NULL
- 점수 (rating) — NOT NULL
- 내용 (content)
- 번개ID (bungae_id)
- 평가유저 (reviewer_id)