Nyam

테이블 (23)

관리자 (Admin)

  • 관리자 고유키 (uid) — String — 기본 키 — NOT NULL
  • 이름 (admin_name) — String
  • 닉네임 (admin_nickname) — String
  • 아이디 (admin_id) — String
  • 비밀번호 (admin_password) — String
  • 생성일 (admin_create_At) — DateTime
  • 프로필사진 (admin_profile) — String
  • 사용여부 (admin_active) — Boolean

광고 (Ad)

  • 광고id (aid) — String — 기본 키 — NOT NULL
  • 시작일 (ad_start_At) — DateTime
  • 마감일 (ad_end_At) — DateTime
  • 이미지 (ad_image) — String
  • 링크 (ad_link) — String
  • 캠퍼스 (campus_id) — String
  • 관리 (ad_onoff) — bool
  • 광고명 (ad_name) — String
  • 관리자 (admin) — Object
  • 생성일 (ad_create_at) — Date
  • 조회수 (ad_view_count) — INT

대학교 스케줄 (Schedule)

  • 스케줄 주체 (schedule_campus_name) — String — NOT NULL
  • 시작일 (schedule_start_At) — DateTime — NOT NULL
  • 마감일 (schedule_end_At) — DateTime — NOT NULL
  • 설명 (schedule_sub) — String — NOT NULL
  • 마지막 관리인 (schedule_admin) — String — NOT NULL

대학교 캠퍼스 (Campus)

  • 대학교 캠퍼스 (campus_name) — String
  • 캠퍼스 활성 여부 (campus_active) — Boolean
  • 컴퍼스 스케줄 리스트 (campus_schedules) — Schedule[]
  • 대학교 위치 (campus_location) — location

리뷰 (Review)

  • 리뷰 이미지 (review_image) — Array — NOT NULL
  • 리뷰 글 (review_text) — String — NOT NULL
  • 리뷰 오지랖 (review_hidden_text) — String
  • 서비스 별점 (review_service) — Int — NOT NULL
  • 맛 별점 (review_taste) — Int — NOT NULL
  • 매장 아이디 (review_store_id) — String — NOT NULL
  • 작성자 (review_user_id) — String — NOT NULL
  • 작성시간 (review_create_At) — DateTime — NOT NULL
  • 관리 (review_onoff) — bool — NOT NULL

매장 (Store)

  • Key — 기본 키 — NOT NULL
  • 캠퍼스 (campus_id) — Int — NOT NULL
  • 매장 이름 (store_name) — String — NOT NULL
  • 매장 번호 (store_call) — String
  • 시설 (store_facility) — Array
  • 장르 (store_genre) — NOT NULL
  • 특별 장르 (store_special_genre)
  • 매장 이미지 (store_images) — Array — NOT NULL
  • 즐겨찾기 카운트 (store_list_count) — Int
  • 위치 (store_location) — Object
  • 메뉴 (store_menu) — Array — NOT NULL
  • 별점 (store_rating) — double
  • 맛 별점 (store_taste_rating) — double
  • 서비스 별점 (store_service_rating) — double
  • 리뷰 수 (store_review_count) — Int
  • 휴일 리스트 (store_holidays) — Array
  • 영업 시간 (store_time) — Array — NOT NULL
  • 매장 주인 (owner_id) — String — NOT NULL
  • 매장 주인 타입 (owner_type) — String — NOT NULL
  • 매장 활성화 여부 (store_active) — Boolean
  • 매장 차단여부 (store_block) — Boolean
  • 최종 관리자 (admin) — Oject
  • 생성일 (store_created_atg) — Date

매장 주인 (Owner)

  • Key — 기본 키 — NOT NULL
  • 이름 (owner_name) — String
  • 사업자 등록증 (owner_license) — Array
  • 아이디 (owner_id) — String
  • 비밀번호 (owner_password) — String
  • 성별 (owner_gender) — String
  • 생년월일 (owner_birth) — DateTime
  • 전화번호 (owner_call) — String
  • 결제계좌 (owner_account)
  • 인증 (owner_auth)
  • 생성일 (owner_create_at) — Date
  • 사용여부 (owner_active) — Boolean

메뉴 (store_menu)

  • 메뉴이름 (name) — String — NOT NULL
  • 가격 (price) — Number — NOT NULL
  • 이미지 (image) — String

사업자 등록증(Object) (owner_license)

  • 이미지 (owner_license_image) — String — NOT NULL
  • 이름 (owner_license_name) — NOT NULL

사장님 요청 (Owner Request)

  • 요청 주인 (owner_request_owner_id) — String
  • 신청일 (owner_request_create_At) — DateTime
  • 마감일 (owner_request_end_At) — DateTime
  • 참고 이미지 (owner_request_image) — String
  • 설명 (owner_request_sub) — String
  • 답변 내용 (owner_request_answer) — String
  • 답변 이미지 (owner_request_answer_image) — String
  • 답변자 (owner_request_admin_id) — String
  • 답변 여부 (owner_request_check) — bool

소유 매장(Object) (owner_stores)

  • 이름 (owner_stores_name) — String — NOT NULL

시설 (store_facility)

  • 시설 이름 (name) — String
  • 시설 사진 (image) — String

실험실 (Lab)

  • Key — 기본 키 — NOT NULL
  • 실험실 주인 (lab_owner_id) — String
  • 매장 주인 (lab_store_id) — String
  • 시작일 (lab_start_At) — DateTime
  • 마감일 (lab_end_At) — DateTime
  • 실험실 디데이 (lab_d_day) — DateTime
  • 생성일 (lab_create_At) — DateTime
  • 이미지 (lab_image) — String
  • 설명 (lab_sub) — String
  • 캠퍼스 (lab_campus_id) — String
  • 인원 제한 (lab_limit) — Int
  • 유저 리스트 (lab_user_list) — Array
  • 관리 (lab_onoff) — bool

영업시간 (store_time)

  • 월요일 (mon) — String
  • 화요일 (tue) — String
  • 수요일 (wed) — String
  • 목요일 (thu) — String
  • 금요일 (fri) — String
  • 토요일 (sat) — String
  • 일요일 (sun) — String

위치 (location)

  • 위도 (lat) — Double
  • 경도 (lon) — Double
  • Field (region1) — String
  • Field (region2) — String
  • Field (region3) — String
  • 우편번호 (addr1) — String
  • 도로명 주소 (addr2) — String
  • 지번 주소 (addr3) — String

유저 (Nyam User)

  • 닉네임 (user_nickname) — String — 기본 키
  • 이메일 (user_email) — String
  • 로그인 유형 (user_provider) — String
  • 로그인 서비스 제공 id (user_provider_id)
  • 성별 (user_gender) — String
  • 생년월일 (user_birth) — DateTime
  • 생성일 (user_create_At) — DateTime
  • 프로필 사진 (user_profile) — String
  • 광고 홍보 수신여부 (user_push) — bool
  • 광고 홍보 수신 영역 (user_push_type) — Object
  • 마지막 로그인 위치 (user_last_location) — String
  • 유저 API 키 (user_api_key) — String
  • 디바이스 토큰 (user_device_token) — String
  • 사용여부 (user_active) — Boolean

유저 요청 (User Request)

  • 요청 유저 아이디 (user_request_id) — String
  • 작성일 (user_request_create_At) — DateTime
  • 참고 이미지 (user_request_image) — String
  • 내용 (user_request_sub) — String
  • 답변 (user_request_answer) — String
  • 답변 이미지 (user_request_answer_image) — String
  • 답변자 (user_request_admin_id) — String
  • 답변 여부 (user_request_check) — bool

유저리스트 (lab_user_list)

  • 유저 아이디 (lab_user_name) — String

이벤트 (Event)

  • 이벤트 주인 (event_owner_id) — String
  • 시작일 (event_start_At) — DateTime
  • 마감일 (event_end_At) — DateTime
  • 이미지 (event_image) — String
  • 설명 (event_sub) — String
  • 매장 주인 (event_store_id) — String
  • 캠퍼스 (event_campus_id) — String
  • 관리 (event_onoff) — bool
  • 생성일 (event_create_At) — DateTime

장르 (genre)

  • 장르명 (genre_name) — String

푸시 알람 (push)

  • 발신자 타입 (push_from_type) — Object
  • 발신자 (push_from) — Object — NOT NULL
  • 수신자 타입 (push_to_type) — Object — NOT NULL
  • 수신자 (pust_to) — Object — NOT NULL
  • 제목 (push_title) — Stirng
  • 설명 (push_desc) — String
  • 생성일 (push_create_At) — DateTime
  • 내용 (push_content) — Object

푸시알람 내용 (push_content)

  • Key — 기본 키 — NOT NULL
  • 내용 (descripton) — String — NOT NULL
  • 매장 아이디 (store_id) — String — NOT NULL
  • 행동 (action) — Object — NOT NULL

휴일 (store_holiday)

  • 휴일 (day) — DateTime