Xcosmetic
테이블 (5)
공지사항 (notice)
- Key (id) — integer — 기본 키 — NOT NULL
- Key (user_id) — integer — 외래 키 → 회원.Key — NOT NULL
- Field (contents) — string
- Field (date) — date
첨부(이미지) (attachments)
- Key (id) — integer — 기본 키 — NOT NULL
- Key (user_id) — integer — 외래 키 → 회원.Key — NOT NULL
- Field (attachmentable_id) — integer
- Field (attachmentable_type) — string
- Field (filename) — string
- Field (bytes) — int
- Field (mime) — string
푸시알림 (app_push)
- Key (id) — integer — 기본 키 — NOT NULL
- Field (type) — string — 대상구분 -private -public
- Field (message_to) — string — 발송 대상
- Field (title) — string — 제목
- Field (body) — string — 내용
- Field (url) — string — 해당 쇼핑몰 url
- Field (success) — integer — NOT NULL — 발송 성공여부 1 : 성공 0 : 실패
- Field (click_count) — integer — 푸시클릭 횟수
- Field (response) — string — FCM 응답메시지 전문
- Field (request) — string — FCM 발송메시지 전문
- Field (is_schedual) — integer
- Field (schedual_date) — date — FCM 예약발송일자
회원 (users)
- Key (id) — integer — 기본 키 — NOT NULL
- Field (name) — string
- Field (phone) — string
- Field (email) — string
- Field (password) — string — NOT NULL
- Field (token) — string — NOT NULL — sns 로그인 토큰값
- Field (address) — string — NOT NULL
- Field (activity_count) — integer — 활동 카운트
- Field (user_type) — string — 로그인 구분 normal : 일반 social login : SNS
- Field (user_level) — integer — 권한 구분 0 : 일반 1 : 입점관리자 2 : 최고관리자
- Field (join_date) — date
회원 세부속성 (properties)
- Key (id) — integer — 기본 키 — NOT NULL
- Key (user_id) — integer — 외래 키 → 회원.Key — NOT NULL
- Field (gender) — integer
- Field (join_path) — string
- Field (age) — string
- Field (skin_type) — string