정산 DB스키마
테이블 (20)
additional_contents_weighting
- idx — int(11) — 기본 키 — NOT NULL — 인덱스
- campaign_service_idx — int(11) — NOT NULL — 상품유형 인덱스
- platform_idx — int(11) — NOT NULL — SNS 플랫폼 인덱스
- weighting — float — 추가콘텐츠 가중치
- created — timestamp(3) — NOT NULL — 생성일
- updated — timestamp(3) — 수정일
additional_posting_weighting
- idx — int(11) — 기본 키 — NOT NULL — 인덱스
- campaign_service_idx — int(11) — NOT NULL — 상품유형 인덱스
- platform_idx — int(11) — NOT NULL — SNS 플랫폼 인덱스
- photo_and_text_weighting — float — 사진&텍스트 가중치
- video_and_text_weighting — float — 동영상&텍스트 가중치
- created — timestamp(3) — NOT NULL — 생성일
- updated — timestamp(3) — 수정일
campaign_budget
- idx — bigint(20) — 기본 키 — NOT NULL
- campaign_idx — bigint(20) — NOT NULL
- requested_budget — int(11) — 요청 예산
- executed_budget — int(11) — 집행 예산
- executed_date — datetime — 집행 날짜
- created — datetime(3) — NOT NULL — 생성일
- updated — datetime(3) — 수정일
campaign_request_data_history
- idx — bigint(20) — 기본 키 — NOT NULL — 인덱스
- campaign_idx — bigint(20) — NOT NULL — 캠페인 인덱스
- standard_money — int(11) — 의뢰당시 기준 금액
- posting_cnt_by_client — int(11) — 의뢰당시 광고주 포스팅건수
- posting_cnt_by_influencer — int(11) — 의뢰당시 인플루언서 포스팅건수
- additional_contents_weighting — float — 의뢰당시 추가콘텐츠 가중치
- photo_and_text_weighting — float — 의뢰당시 사진&텍스트 가중치
- video_and_text_weighting — float — 의뢰당시 동영상&텍스트 가중치
- visiting_weighting — float — 의뢰당시 방문형 가중치
- platform_weighting — int(11) — 의뢰당시 플랫폼 가중치
- additional_posting_money — int(11) — 추가 포스팅 금액
- photo_and_text_money — int(11) — 추가 사진&텍스트 금액
- video_and_text_money — int(11) — 추가 동영상&텍스트 금액
- additional_contents_money — int(11) — 추가 콘텐츠 금액
- visiting_money — int(11) — 방문 금액
- created — timestamp(3) — NOT NULL — 생성일
- updated — timestamp(3) — 수정일
deposit_information
- idx — bigint(20) — 기본 키 — NOT NULL — idx
- name — varchar(50) — 회사명(인플루언서명)
- imc_idx — int(11) — 외래 키 → influencer_matching_condition.idx — client.influencer_matching_condition_idx
- shop_url_idx — bigint(20) — 샵 URL 인덱스
- user_bank_info_idx — bigint(20) — NOT NULL — 유저 은행 정보 인덱스
- deposit_bank — int(11)
- deposit_account_holder — varchar(50)
- deposit_account_number — varchar(50)
- expect_deposit_date — datetime — 입금예정일
- complete_deposit_date — datetime — 입금완료일
- total_shipping_fee — bigint(20) — 배송비
- total_purchase_confirm_amount — bigint(20) — 구매확정금액
- deposit_amount — bigint(20) — 입금금액
- pg_commission — bigint(20)
- total_sales_amount — bigint(20) — 총 판매수익 ( 구매확정 - 배송비
- contract_guarantee — bigint(20) — 계약 개런티
- contract_revenue_share — float — 계약 RS
- influencer_guarantee — bigint(20) — 인플루언서 개런티
- influencer_revenue_share — float — 인플루언서 R/S
- concepters_guarantee — bigint(20) — 컨셉터스 개런티
- concepters_revenue_share — float — 컨셉터스 R/S
- samsung_guarantee — bigint(20) — 삼성 개런티
- samsung_revenue_share — float — 삼성 R/S
- influencer_operation_profit — bigint(20) — 인플루언서 수익 ( MG 포함 )
- ssfitket_operation_profit — bigint(20) — 삼성피켓 수익 ( MG 포함 )
- samsung_operation_profit — bigint(20) — 삼성 수익 (MG 포함)
- concepters_operation_profit — bigint(20) — 컨셉터스 수익 (MG 포함)
- client_operation_profit — bigint(20) — 광고주 수익
- updated — datetime(3) — 수정일
- created — datetime(3) — 생성일
distribution_ratio
- idx — int(11) — 기본 키 — NOT NULL — 인덱스
- campaign_service_idx — int(11) — NOT NULL — 상품유형 인덱스
- concepters_money — int(11) — NOT NULL — 컨셉터스 금액 비율
- partner_money — int(11) — NOT NULL — 파트너사 금액 비율
- concepters_revenue_share — float — NOT NULL — 컨셉터스 공구수수료 비율
- partner_revenue_share — float — NOT NULL — 파트너사 공구수수료 비율
- created — timestamp(3) — NOT NULL — 생성일
- updated — timestamp(3) — 수정일
distribution_ratio_by_level
- idx — int(11) — 기본 키 — NOT NULL — 인덱스
- campaign_service_idx — int(11) — NOT NULL — 상품유형 인덱스
- level — int(11) — NOT NULL — 레벨
- bigbird_money — int(11) — 빅버드 금액 비율
- influencer_money — int(11) — 인플루언서 금액 비율
- bigbird_revenue_share — float — 빅버드 공구수수료 비율
- influencer_revenue_share — float — 인플루언서 공구수수료 비율
- created — timestamp(3) — NOT NULL — 생성일
- updated — timestamp(3) — 수정일
distribution_ratio_by_level_history
- idx — bigint(20) — 기본 키 — NOT NULL — 인덱스
- campaign_idx — bigint(20) — NOT NULL — 캠페인 인덱스
- level — int(11) — NOT NULL — 레벨
- bigbird_money — int(11) — NOT NULL — 빅버드 금액 비율
- influencer_money — int(11) — NOT NULL — 인플루언서 금액 비율
- bigbird_revenue_share — float — NOT NULL — 빅버드 공구수수료 비율
- influencer_revenue_share — float — NOT NULL — 인플루언서 공구수수료 비율
- created — timestamp(3) — NOT NULL — 생성일
- updated — timestamp(3) — 수정일
distribution_ratio_history
- idx — bigint(20) — 기본 키 — NOT NULL — 인덱스
- campaign_idx — bigint(20) — NOT NULL — 캠페인 인덱스
- concepters_money — int(11) — NOT NULL — 컨셉터스 금액 비율
- partner_money — int(11) — NOT NULL — 파트너사 금액 비율
- concepters_revenue_share — float — NOT NULL — 컨셉터스 공구수수료 비율
- partner_revenue_share — float — NOT NULL — 파트너사 공구수수료 비율
- created — timestamp(3) — NOT NULL — 생성일
- updated — timestamp(3) — 수정일
influencer_matching_condition
- idx — int(11) — 기본 키 — NOT NULL — 인덱스
- campaign_idx — bigint(20) — NOT NULL — 캠페인인덱스
- user_idx — bigint(20) — NOT NULL
- id — varchar(256) — NOT NULL — 인플루언서 아이디
- platform_idx — int(11) — NOT NULL — 플랫폼 인덱스
- category_idx — int(11) — NOT NULL
- table_meta_info_idx — int(11) — NOT NULL
- value_idx — int(11) — NOT NULL
- is_recruit — tinyint(4) — 모집 여부
- is_pick — tinyint(4) — 픽 여부
- is_final — tinyint(4) — 최종선정여부
- is_matching — tinyint(4)
- created — timestamp(3) — 생성
- updated — timestamp(3) — 업데이트
operating_profit
- idx — bigint(20) — 기본 키 — NOT NULL — idx
- shop_url_idx — bigint(20) — 샵 URL 인덱스
- imc_idx — int(11) — 외래 키 → influencer_matching_condition.idx — client.influencer_matching_condition_idx
- total_shipping_fee — bigint(20) — 배송비
- total_purchase_confirm_amount — bigint(20) — 구매확정금액
- pg_commission — bigint(20)
- total_sales_amount — bigint(20) — 총 판매수익 ( 구매확정 - 배송비
- contract_guarantee — bigint(20) — 계약 개런티
- contract_revenue_share — float — 계약 RS
- influencer_guarantee — bigint(20) — 인플루언서 개런티
- influencer_revenue_share — float — 인플루언서 R/S
- concepters_guarantee — bigint(20) — 컨셉터스 개런티
- concepters_revenue_share — float — 컨셉터스 R/S
- samsung_guarantee — bigint(20) — 삼성 개런티
- samsung_revenue_share — float — 삼성 R/S
- influencer_operation_profit — bigint(20) — 인플루언서 수익 ( MG 포함 )
- ssfitket_operation_profit — bigint(20) — 삼성피켓 수익 ( MG 포함 )
- samsung_operation_profit — bigint(20) — 삼성 수익 (MG 포함)
- concepters_operation_profit — bigint(20) — 컨셉터스 수익 (MG 포함)
- client_operation_profit — bigint(20) — 광고주 수익
- influencer_rs_operation_profit — bigint(20) — 인플루언서 RS 수익
- ssfitket_rs_operation_profit — bigint(20) — 삼성피캣 RS 수익
- samsung_rs_operation_profit — bigint(20) — 삼성 RS 수익
- concepters_rs_operation_profit — bigint(20) — 컨셉터스 RS 수익
- refund_and_exchange_shipping_fee — bigint(20) — 교환/반품 배송비
- return_amount — bigint(20) — 반환금액
- client_basic_posting_return_amount — int(11) — 광고주 기본 포스팅 반환 금액
- client_additional_posting_return_amount — int(11) — 광고주 추가 포스팅 반환 금액
- client_additional_contents_return_amount — int(11) — 광고주 추가 콘텐츠 반환 금액
- posting_return_amount — bigint(20)
- influencer_basic_posting_return_amount — int(11) — 인플루언서 기본 포스팅 미이행 반환 금액
- influencer_additional_posting_return_amount — int(11) — 인플루언서 추가 포스팅 미이행 반환 금액
- influencer_additional_contents_return_amount — int(11) — 인플루언서 추가 콘텐츠 미이행 반환 금액
- subtraction — bigint(20) — 차감금액
- influencer_tax — bigint(20) — 원천세 3.3%
- influencer_sales_amount_by_RS — int(11) — 인플루언서 몫의 매출 수수료 금액
- client_sales_amount_by_RS — int(11) — 광고주 매출 (RS이용해서 구한거)
- updated — datetime(3) — 수정일
- created — datetime(3) — 생성일
platform_weighting
- idx — int(11) — 기본 키 — NOT NULL — 인덱스
- campaign_service_idx — int(11) — NOT NULL — 상품유형 인덱스
- platform_idx — int(11) — NOT NULL — SNS 플랫폼 인덱스
- weighting — int(11) — NOT NULL — 플랫폼 가중치
- created — timestamp(3) — NOT NULL — 생성일
- updated — timestamp(3) — 수정일
posting_approval
- posting_approval_idx — bigint(20) — 기본 키 — NOT NULL — 인덱스
- campaign_idx — bigint(20) — 캠페인 인덱스
- user_idx — bigint(20) — 유저 인덱스
- influencer_posting_map_idx — bigint(20) — NOT NULL — 크롤링 테이블 인덱스
- type — int(1) — NOT NULL — 1: 포스팅 / 2: 콘텐츠
- posting_type — int(1) — NOT NULL — 1: 사진&텍스트 / 2: 동영상&텍스트
- is_approval — tinyint(1) — NOT NULL — 승인여부
- created — datetime(3) — NOT NULL — 생성일
- updated — datetime(3) — 수정일
quantitative_index_amount
- idx — bigint(20) — 기본 키 — NOT NULL
- name — varchar(50)
- follower_min — int(11) — 최소 기준 팔로워
- follower_max — int(11) — 최대 기준 팔로워
- amount — int(11) — NOT NULL — 금액
- created — datetime(3) — NOT NULL — 생성일
- updated — datetime(3) — 수정일
quantitative_index_amount_history
- idx — bigint(20) — 기본 키 — NOT NULL — 인덱스
- campaign_idx — bigint(20) — NOT NULL — 캠페인 인덱스
- qia_idx — bigint(20) — NOT NULL — quantitative_index_amount 인덱스
- name — varchar(50) — NOT NULL — 이름
- follower_min — int(11) — NOT NULL — 최소 팔로워 수
- follower_max — int(11) — NOT NULL — 최대 팔로워 수
- amount — int(11) — NOT NULL — 금액
- created — timestamp(3) — NOT NULL — 생성일
- updated — timestamp(3) — 수정일
quantitative_index_map
- idx — bigint(20) — 기본 키 — NOT NULL
- campaign_idx — bigint(20)
- quantitative_index_amount_idx — bigint(20) — 외래 키 → quantitative_index_amount.idx
- personnel_assignment_count — int(11) — 배정인원
- created — datetime(3) — NOT NULL — 생성일
- updated — datetime(3) — 수정일
standard_money
- idx — int(11) — 기본 키 — NOT NULL — 인덱스
- campaign_service_idx — int(11) — NOT NULL — 상품유형 인덱스
- standard_money — int(11) — 기준 금액
- standard_minimum_money — int(11) — NOT NULL — 최저 기준 금액
- is_use_to_discover — tinyint(1) — NOT NULL — 발굴시에 레벨조건 사용여부
- created — timestamp(3) — NOT NULL — 생성일
- updated — timestamp(3) — 수정일
standard_posting_count
- idx — int(11) — 기본 키 — NOT NULL — 인덱스
- campaign_service_idx — int(11) — NOT NULL — 상품유형 인덱스
- platform_idx — int(11) — NOT NULL — SNS 플랫폼 인덱스
- posting_cnt_by_client — int(11) — NOT NULL — 광고주 포스팅건수
- posting_cnt_by_influencer — int(11) — NOT NULL — 인플루언서 포스팅건수
- created — timestamp(3) — NOT NULL — 생성일
- updated — timestamp(3) — 수정일
user_manuscript_fee
- idx — bigint(20) — 기본 키 — NOT NULL — 인덱스
- campaign_idx — bigint(20) — NOT NULL — 캠페인 인덱스
- platform_idx — int(11) — NOT NULL — 플렛폼 인덱스
- platform_user_id — varchar(512) — NOT NULL — 플렛폼 사용자 아이디
- user_idx — bigint(20)
- contract_guarantee — int(11) — 최대계약개런티
- contract_guarantee_min — int(11) — 최소계약개런티
- samsung_guarantee — int(11) — 삼성 개런티
- concepters_guarantee — int(11) — 컨셉터스 개런티
- influencer_guarantee — int(11) — 인플루언서 개런티(최대허용개런티)
- bidding_guarantee — int(11) — 입찰 기본 개런티
- bidding_additional_posting_money — int(11) — 입찰 추가 포스팅 금액
- bidding_photo_and_text_money — int(11) — 입찰 추가 사진&텍스트 금액
- bidding_video_and_text_money — int(11) — 입찰 추가 동영상&텍스트 금액
- bidding_additional_contents_money — int(11) — 입찰 추가 콘텐츠 금액
- bidding_visiting_money — int(11) — 입찰 방문형 금액
- contract_revenue_share — float — 계약 R/S
- contract_revenue_share_min — float — 삼성 피켓 R/S
- samsung_revenue_share — float — 삼성 R/S
- concepters_revenue_share — float — 컨셉터스 R/S
- influencer_revenue_share — float — 인플루언서 R/S
- bidding_revenue_share — float — 입찰 R/S
- contract_money_by_client — int(11) — 최종계약 금액
- contract_RS_by_client — float — 최종계약 RS
- basic_money_max — int(11) — 최대 기본 금액
- basic_money_min — int(11) — 최소 기본 금액
- basic_money — int(11) — 기본 금액
- additional_posting_money — int(11) — 추가 포스팅 금액
- photo_and_text_money — int(11) — 추가 사진&텍스트 금액
- video_and_text_money — int(11) — 추가 동영상&텍스트 금액
- additional_contents_money — int(11) — 추가 콘텐츠 금액
- visiting_money — int(11) — 방문 금액
- created — timestamp(3) — 생성일
- updated — timestamp(3) — 수정일
visiting_weighting
- idx — int(11) — 기본 키 — NOT NULL — 인덱스
- campaign_service_idx — int(11) — NOT NULL — 상품유형 인덱스
- platform_idx — int(11) — NOT NULL — SNS 플랫폼 인덱스
- weighting — float — NOT NULL — 방문형 가중치
- created — timestamp(3) — NOT NULL — 생성일
- updated — timestamp(3) — 수정일