할인.v1
테이블 (7)
소셜링 (Untitled)
- id (Key) — int — 기본 키 — NOT NULL
소셜링/할인 (Untitled3)
- id (Key) — int — 기본 키 — NOT NULL
- socialingId (Key2) — int — 외래 키 → 소셜링.id — NOT NULL
- discountId (Key3) — int — 외래 키 → 할인.id — NOT NULL
- createdAt (Field) — Timestamp
- updatedAt (Field2) — Timestamp
소셜링멤버 (Untitled5)
- id (Key3) — 기본 키 — NOT NULL
할인 (Untitled2)
- id (Key) — int — 기본 키 — NOT NULL
- discountTypeId (Key4) — int — 외래 키 → 할인유형.id — NOT NULL
- amount (Field) — int
- createdAt (Field2) — Timestamp
- updatedAt (Field3) — Timestamp
- deletedAt (Field4) — Timestamp
할인/소셜링멤버 (Untitled4)
- id (Key) — int — 기본 키 — NOT NULL
- socialingMemberId (Key3) — int — 외래 키 → 소셜링멤버.id — NOT NULL
- discountId (Key2) — int — 외래 키 → 할인.id — NOT NULL
- createdAt (Field) — Timestamp
- updatedAt (Field2) — Timestamp
- deletedAt (Field3) — Timestamp
할인유형 (Untitled6)
- id (Key) — int — 기본 키 — NOT NULL
- name (Field) — varchar
할인정책 (Untitled7)
- id (Key) — int — 기본 키 — NOT NULL
- discountId (Key3) — int — 외래 키 → 할인.id — NOT NULL
- value (Field) — int
- discountPolicyKind (Field2) — int
- createdAt (Field3) — Timestamp
- updatedAt (Field4) — Timestamp
- deletedAt (Field5) — Timestamp