쿠폰관련 ERD
테이블 (7)
Coupon (쿠폰)
- CouponNo (쿠폰 번호) — PK — 기본 키 — NOT NULL
- CouponIssuanceConditionsNo (쿠폰 발행조건 번호) — PK — 외래 키 → CouponIssuanceConditions.CouponIssuanceConditionsNo — NOT NULL
- CouponMessageNo (쿠폰 메세지번호) — 외래 키 → CouponMessage.CouponMessageNo — NOT NULL
- Key — 외래 키 → Promotion.PromotionNo — NOT NULL
- CouponSupportNo (할인 쿠폰 지원금 번호) — PK — 외래 키 → CouponSupport.CouponSupportNo — NOT NULL
- CouponSupportTargetCompanyNo (할인 쿠폰 지원금 거래처번호) — PK — 외래 키 → CouponSupport.CouponSupportTargetCompanyNo — NOT NULL
- CouponCode (쿠폰코드)
CouponIssuance (쿠폰 발행)
- CouponIssuanceNo (쿠폰발행 번호) — PK — 기본 키 — NOT NULL
- CouponNo (쿠폰 번호) — PK — 외래 키 → Coupon.CouponNo — NOT NULL
- CouponMessageNo (쿠폰 메세지번호) — 외래 키 → Coupon.CouponMessageNo — NOT NULL
- Key — 외래 키 → Coupon.Key — NOT NULL
- CouponSupportNo (할인 쿠폰 지원금 번호) — PK — 외래 키 → Coupon.CouponSupportNo — NOT NULL
- CouponSupportTargetCompanyNo (할인 쿠폰 지원금 거래처번호) — PK — 외래 키 → Coupon.CouponSupportTargetCompanyNo — NOT NULL
- CouponCode (쿠폰코드)
- CouponIssuanceCode (쿠폰 발행 코드)
- Field
CouponIssuanceConditions (쿠폰 발행 조건)
- CouponIssuanceConditionsNo (쿠폰 발행조건 번호) — PK — 기본 키 — NOT NULL
- Field
- Field2
CouponMessage (할인 쿠폰)
- CouponMessageNo (쿠폰 메세지번호) — 기본 키 — NOT NULL
CouponSupport (할인 쿠폰 지원금)
- CouponSupportNo (할인 쿠폰 지원금 번호) — PK — 기본 키 — NOT NULL
- CouponSupportTargetCompanyNo (할인 쿠폰 지원금 거래처번호) — PK — 외래 키 → CouponSupportTargetCompany.CouponSupportTargetCompanyNo — NOT NULL
- Field
CouponSupportTargetCompany (할인 쿠폰 지원금 거래처)
- CouponSupportTargetCompanyNo (할인 쿠폰 지원금 거래처번호) — PK — 기본 키 — NOT NULL
- Field
Promotion (프로모션)
- PromotionNo (프로모션 번호) — PK — 기본 키 — NOT NULL
- Field