contents-product

테이블 (5)

비즈머니 사용 이력 테이블 (biz_money_usage_history)

  • idx (primary key) — bigint — 기본 키 — NOT NULL
  • biz_money_idx (비즈머니 참조 키) — bigint — 외래 키 → 비즈머니 테이블.idx — NOT NULL
  • biz_money_usage_type (비즈머니 사용 타입 키) — bigint — 외래 키 → 비즈머니 사용 타입.idx — NOT NULL
  • campaign_idx (캠페인 키) — bigint
  • biz_money (비즈머니 이력 money) — bigint
  • code (이력 코드) — varchar(255)
  • usage_details (이력 상세 설명) — varchar(255)
  • created (생성일) — localdate
  • updated (업데이트 일) — localdate

비즈머니 사용 타입 (biz_money_usage_type)

  • idx (primary) — bigint — 기본 키 — NOT NULL
  • type (사용 타입) — varchar(30)
  • created (생성일) — localdate
  • updated (업데이트일) — localdate

비즈머니 테이블 (biz_money)

  • idx (primary key) — bigint — 기본 키 — NOT NULL
  • user_idx (유저 아이디) — bigint
  • biz_money (비즈 머니) — bigint
  • created (생성일) — localdate
  • updated (업데이트 일) — localdate

콘텐츠형 상품 정보 테이블 (contents_product_service)

  • id (primary key) — bigint — 기본 키 — NOT NULL
  • service_product (상품 명) — enum
  • price (가격) — bigint
  • real_price (실제 부가세 포함 가격) — bigint
  • max_token (최대 사용 토큰 수) — bigint
  • max_words (최대 사용 문자 수) — bigint
  • created (생성일) — localdate
  • updated (업데이트일) — localdlate

콘텐츠형 상품-유저 매핑 테이블 (bigcampaign_product_service_association)

  • id (primary key) — bigint — 기본 키 — NOT NULL
  • product_service_idx (참조 키) — bigint — 외래 키 → 콘텐츠형 상품 정보 테이블.id — NOT NULL
  • bigcampaign_idx (빅 캠페인 아이디) — bigint
  • active_service_start_date (활성화 시작 날짜) — localdate
  • active_service_end_date (활성화 끝 날짜) — localdate
  • created (생성일) — timestamp
  • updated (업데이트일) — timestamp