ㅇㄴㄹㅁ
Tables (8)
cart_item
- id — BIGINT
- member_id — BIGINT
- product_id — BIGINT
- quantity — INT — NOT NULL
coupon
- id — BIGINT
- name — VARCHAR(255) — NOT NULL
- type — ENUM('TYPE1', 'TYPE2', 'TYPE3')
- discount — INT — NOT NULL
- usage_start — DATETIME — NOT NULL
- usage_end — DATETIME — NOT NULL
coupon_serial_number
- id — BIGINT
- coupon_id — BIGINT
- serial_number — VARCHAR(255) — NOT NULL
- issue — BOOLEAN — NOT NULL
member
- id — BIGINT
- email — VARCHAR(255) — NOT NULL
- password — VARCHAR(255) — NOT NULL
member_coupon
- id — BIGINT
- member_id — BIGINT
- coupon_serial_number_id — BIGINT
order
- id — BIGINT
- member_id — BIGINT
- coupon_id — BIGINT
- product_price — INT — NOT NULL
- coupon_discount — INT — NOT NULL
- total_price — INT — NOT NULL
- progress — ENUM('ORDERED', 'SHIPPED', 'DELIVERED')
order_item
- id — BIGINT
- order_id — BIGINT
- name — VARCHAR(255) — NOT NULL
- price — INT — NOT NULL
- image_url — VARCHAR(255)
- quantity — INT — NOT NULL
product
- id — BIGINT
- name — VARCHAR(255) — NOT NULL
- price — INT — NOT NULL
- image_url — VARCHAR(255)