inmycart
Tables (7)
Admin (CopyOfUntitled)
- 아이디 (admin_id) — UUID — Primary key — NOT NULL
- 이메일 (email) — String
- 비밀번호 (password) — String
- 이름 (name) — String
- 역할 (role) — String
- 생성날짜 (created_at) — String
Item (Untitled4)
- 아이디 (id) — Integer — Primary key — NOT NULL
- 레시피아이디 (receipt_id) — Integer — Foreign key → Receipt.아이디 — NOT NULL
- 유저아이디 (user_id) — UUID — Foreign key → Receipt.유저아이디 — NOT NULL
- 상품아이디 (product_id) — Integer — Foreign key → Product.아이디 — NOT NULL
- 가격 (unit_price) — Integer
- 수량 (quantity) — Integer
Product (Untitled5)
- 아이디 (product_id) — Integer — Primary key — NOT NULL
- 이름 (name) — String
- 정규이름 (normalized_name) — String
- 카테고리 (category) — Stirng
- 단위 (standard_unit)
Receipt (Untitled6)
- 아이디 (receipt_id) — Integer — Primary key — NOT NULL
- 유저아이디 (user_id) — UUID — Foreign key → User.아이디 — NOT NULL
- 구매한곳 (stor_name) — String
- 일자 (date) — String
- 총금액 (total_amount) — Integer
- 카테고리 (category) — String
- 메모 (memo) — String
- 생성날짜 (created_at) — String
SuspenstionLog (Untitled3)
- 아이디 (suspenstionlog_id) — Integer — Primary key — NOT NULL
- 아이디 (user_id) — UUID — Foreign key → User.아이디 — NOT NULL
- issued_by (admin_id) — UUID — Foreign key → Admin.아이디 — NOT NULL
- 시작날짜 (start_date) — String
- 끝날짜 (end_date) — String
- 이유 (reason) — String
User (Untitled)
- 아이디 (user_id) — UUID — Primary key — NOT NULL
- 이메일 (email) — String
- 비밀번호 (password) — String
- 이름 (name) — String
- 역할 (role) — String
- 메모 (memo) — String
- 상태 (is_active) — Integer
- 정지기간 (suspended_until) — String
- 생성날짜 (created_at) — String
- 업데이트날짜 (updated_at) — String
WarningHistory (Untitled2)
- 아이디 (warninghistory_id) — Integer — Primary key — NOT NULL
- 유저아이디 (user_id) — UUID — Foreign key → User.아이디 — NOT NULL
- issued_by (admin_id) — UUID — Foreign key → Admin.아이디 — NOT NULL
- 이유 (reason) — String
- 생성날짜 (created) — String