umc_week1
Tables (18)
BaseEntity (Untitled)
- 생성일자 (created_at) — NOT NULL
- 수정일자 (updated_at) — NOT NULL
Inquiry (문의)
- 문의 idx (idx) — NOT NULL — Primary key — NOT NULL
- 작성자idx (idx2) — NOT NULL — Foreign key → Member.사용자idx — NOT NULL
- 제목 (title) — NOT NULL
- 내용 (content) — NOT NULL
Inquiry_Response (답변)
- 답변id (idx) — NOT NULL — Primary key — NOT NULL
- 문의 idx (idx2) — NOT NULL — Foreign key → Inquiry.문의 idx — NOT NULL
- 답글 (comment) — NOT NULL
Member (사용자)
- 사용자idx (idx) — NOT NULL — Primary key — NOT NULL
- 사용자이름 (member_name) — NOT NULL
- 이메일 (member_email) — NOT NULL
- 성별 (member_gender) — NOT NULL
- 생년월일 (member_birth) — NOT NULL
- 내포인트 (point) — NOT NULL
- 상태 (status) — NOT NULL
- 역할 (role) — NOT NULL
- 로그인수단 (social_type) — NOT NULL
- 리프레시토큰 (refresh_token) — NOT NULL
- 소셜id (social_id) — NULL
- 휴대폰인증여부 (authenticated_phone) — NOT NULL
MemberAddr (사용자주소)
- 사용자주소idx (idx) — NOT NULL — Primary key — NOT NULL
- 사용자idx (idx2) — NOT NULL — Foreign key → Member.사용자idx — NOT NULL
- 시/도 (addr1) — NOT NULL
- 시/군/구 (addr2) — NOT NULL
- 동/읍/면 (addr3) — NOT NULL
- 도로명주소 (streetAddr) — NOT NULL
- 건물명 (buildingName) — NULL
Member_Like_Food (사용자 선호 음식)
- 사용자 선호음식 idx (idx) — NOT NULL — Primary key — NOT NULL
- 사용자idx (member_idx) — NOT NULL — Foreign key → Member.사용자idx — NOT NULL
- 음식종류 (category) — NOT NULL
Member_Mission (사용자 미션)
- 사용자미션idx (idx) — NOT NULL — Primary key — NOT NULL
- 사용자idx (member_idx) — NOT NULL — Foreign key → Member.사용자idx — NOT NULL
- 미션idx (mission_idx) — NOT NULL — Foreign key → Mission.미션idx — NOT NULL
- 진행여부 (status( 진행대기중,적립대기중, 적립완료)) — NOT NULL
Member_agree (사용자약관)
- 사용자약관idx (idx) — NOT NULL — Primary key — NOT NULL
- 사용자idx (member_idx) — NOT NULL — Foreign key → Member.사용자idx — NOT NULL
- 약관idx (idx2) — NOT NULL — Foreign key → terms.약관idx — NOT NULL
- 동의여부 (is_agree) — NOT NULL
Mission (미션)
- 미션idx (idx) — NOT NULL — Primary key — NOT NULL
- 식당idx (rest_idx) — NOT NULL — Foreign key → Restaurant.식당idx — NOT NULL
- 미션내용 (content) — NOT NULL
- 상태 (status) — NOT NULL
- 최소성공금액 (success_price) — NOT NULL
- 적립방식 (acc_method) — NOT NULL
- 적립액수 (acc_point) — NOT NULL
- 마감일자 (deadline) — NOT NULL
- 구분번호 (certified_num) — NOT NULL
Rest_Img (식당 이미지)
- 식당 이미지 (idx) — NOT NULL — Primary key — NOT NULL
- 식당idx (rest_idx) — NOT NULL — Foreign key → Restaurant.식당idx — NOT NULL
- 이미지 key (img_key) — NOT NULL
Restaurant (식당)
- 식당idx (idx) — NOT NULL — Primary key — NOT NULL
- 식당이름 (rest_name) — NOT NULL
- 평점 (score) — NOT NULL
RestaurantAddr (식당주소)
- 사용자주소idx (idx) — NOT NULL — Primary key — NOT NULL
- 식당idx (idx2) — NOT NULL — Foreign key → Restaurant.식당idx — NOT NULL
- 시/도 (addr1) — NOT NULL
- 시/군/구 (addr2) — NOT NULL
- 동/읍/면 (addr3) — NOT NULL
- 도로명주소 (streetAddr) — NOT NULL
- 건물명 (buildingName) — NULL
RestaurantOpenDay (영업요일)
- 영업요일idx (idx) — NOT NULL — Primary key — NOT NULL
- 식당idx (idx2) — NOT NULL — Foreign key → Restaurant.식당idx — NOT NULL
- 요일 (dayOfWeek) — NOT NULL
- 영업시작시간 (started_at) — NOT NULL
- 영업종료시간 (ended_at) — NOT NULL
Restaurant_Category (식당 음식 카테고리)
- 사용자 선호음식 idx (idx) — NOT NULL — Primary key — NOT NULL
- 식당idx (idx2) — NOT NULL — Foreign key → Restaurant.식당idx — NOT NULL
- 음식종류 (category) — NOT NULL
Review (리뷰)
- 리뷰idx (idx) — NOT NULL — Primary key — NOT NULL
- 식당idx (rest_idx) — NOT NULL — Foreign key → Restaurant.식당idx — NOT NULL
- 사용자idx (member_idx) — NOT NULL — Foreign key → Member.사용자idx — NOT NULL
- 별점 (score) — NOT NULL
- 내용 (content) — NULL
Review_Comment (리뷰답글)
- 리뷰답글idx (idx) — NOT NULL — Primary key — NOT NULL
- 가게주인id (commenter_id) — NOT NULL
- 내용 (comment) — NOT NULL
- 리뷰idx (idx2) — NOT NULL — Foreign key → Review.리뷰idx — NOT NULL
Review_Img (리뷰 이미지)
- 리뷰이미지 idx (idx) — NOT NULL — Primary key — NOT NULL
- 리뷰idx (review_idx) — NOT NULL — Foreign key → Review.리뷰idx — NOT NULL
- 이미지 key (img_key) — NOT NULL
terms (약관)
- 약관idx (idx) — NOT NULL — Primary key — NOT NULL
- 제목 (title) — NOT NULL
- 내용 (content) — NOT NULL