erd for creditcard

Tables (25)

Account master ledge (account_master_ledge)

  • 고객번호 (clinet_number) — INT(9) — Foreign key → 고객.고객번호 — NOT NULL
  • 회계처리번호 (book_number) — INT(9) — Foreign key → Bookkeeping.회계처리번호 — NOT NULL
  • 수정부서번호 (cor_dep_num) — INT(9) — Foreign key → Correction Department.수정부서번호 — NOT NULL
  • 현재 잔액 (Balance) — VARCHAR(10)
  • 최종미래잔액 (new_balance) — VARCHAR(10)

Attachment2 (attachment2)

  • 지원번호 (support_number) — INT(9) — Foreign key → Support Department.지원번호 — NOT NULL
  • 수정번호 (bal_col_num) — INT(9) — Foreign key → Balance correction form of support.수정번호 — NOT NULL
  • 미결제금액오류요청 (outstanding_bal_err) — VARCHAR(10)
  • 주소수정요청 (address_err) — VARCHAR(30)

Attachment3 (attachment3)

  • 지원번호 (support_number) — INT(9) — Foreign key → Support Department.지원번호 — NOT NULL
  • 수정부서번호 (cor_dep_num) — INT(9) — Foreign key → Correction Department.수정부서번호 — NOT NULL
  • 파산코드 (action_code) — INT(1)
  • 교환원코드 (operator_code) — INT(4)
  • 수신날짜 (date_received) — VARCHAR(10)
  • 지원부서기술자 (support technician) — VARCHAR(30)

Balance correction form of support (bal_cor_form_of_sup)

  • 수정번호 (bal_col_num) — INT(9) — Primary key — NOT NULL
  • 수정부서번호 (cor_dep_num) — INT(9) — Foreign key → Correction Department.수정부서번호 — NOT NULL
  • 수정날짜 (date_cor) — VARCHAR(10)
  • 수정직원이름 (support technician) — VARCHAR(30)
  • 계좌번호 (account_num) — INT(30)
  • 주소일치여부 (address_correction) — CHAR(1)
  • 고객이름 (cli_name) — VARCHAR(30)
  • 고객주소1 (cli_address1) — VARCHAR(30)
  • 고객주소2 (cli_address2) — VARCHAR(30)
  • 주 (state) — VARCHAR(30)
  • 도시 (city) — VARCHAR(15)
  • 우편번호 (zipcode) — INT(9)
  • 현재잔액 (current_bal) — VARCHAR(10)
  • 조정될금액 (adj_amt) — VARCHAR(10)
  • 갱신잔액 (new_bal) — VARCHAR(10)
  • 승인코드 (authorization_code) — INT(10)
  • 감독자번호 (supervisor_num) — INT(8)
  • 서명 (signature) — VARCHAR(30)

Bookkeeping (bookkepping)

  • 회계처리번호 (book_number) — INT(9) — Primary key — NOT NULL
  • 리서치번호 (research_number) — INT(9) — Foreign key → Research Department.리서치번호 — NOT NULL
  • 고객번호 (clinet_number) — INT(9) — Foreign key → 고객.고객번호 — NOT NULL
  • 회계보고서번호 (book_rep_num) — INT(9) — Foreign key → Report from bookkeeping.회계보고서번호 — NOT NULL
  • 회계직원직책 (staff_position) — VARCHAR(30)
  • 회계직원이름 (staff_name) — VARCHAR(30)
  • 계좌번호 (account_number) — INT(30)
  • 처리날짜 (date_processed) — VARCHAR(10)

Bounced check (bounced_check)

  • 수정번호 (bal_col_num) — INT(9) — Foreign key → Balance correction form of support.수정번호 — NOT NULL
  • 회계처리번호 (book_number) — INT(9) — Foreign key → Bookkeeping.회계처리번호 — NOT NULL
  • 부도수표확인은행 (bounced_check_bank) — VARCHAR(30)
  • 수표금액 (check_payment) — VARCHAR(10)

Correction Department (correction_department)

  • 수정부서번호 (cor_dep_num) — INT(9) — Primary key — NOT NULL
  • 수정처리보고서번호 (cor_rep_num) — INT(9) — Foreign key → Report from correction.수정처리보고서번호 — NOT NULL
  • 수정직원직책 (staff_position) — VARCHAR(30)
  • 수정직원이름 (staff_name) — VARCHAR(30)
  • 계좌번호 (account_num) — INT(30)
  • 문서타입 (doc_type) — VARCHAR(20)
  • 조정될 금액 (adj_amount) — VARCHAR(10)

Correspondence (correspondence)

  • 수신번호 (receive_number) — INT(9) — Foreign key → 수신 양식.수신번호 — NOT NULL
  • 지원번호 (support_number) — INT(9) — Foreign key → Support Department.지원번호 — NOT NULL
  • 회신종류 (cor_type) — INT(1)
  • 회신내용 (content) — VARCHAR(150)

Deposit slip (deposit_slip)

  • 회계처리번호 (book_number) — INT(9) — Foreign key → Bookkeeping.회계처리번호 — NOT NULL
  • 지급금액 (payment) — VARCHAR(10)

Forms without payments (forms_without_payments)

  • 수신번호 (receive_number) — INT(9) — Foreign key → 수신 양식.수신번호 — NOT NULL
  • 지원번호 (support_number) — INT(9) — Foreign key → Support Department.지원번호 — NOT NULL

Payments with form and money (payments_with_form_and_money)

  • 수신번호 (receive_number) — INT(9) — Foreign key → 수신 양식.수신번호 — NOT NULL
  • 회계처리번호 (book_number) — INT(9) — Foreign key → Bookkeeping.회계처리번호 — NOT NULL

Payments without form (payments_without_form)

  • 수신번호 (receive_number) — INT(9) — Foreign key → 수신 양식.수신번호 — NOT NULL
  • 리서치번호 (research_number2) — INT(9) — Foreign key → Research Department.리서치번호 — NOT NULL
  • 지불수단 (cash/check) — VARCHAR(10)
  • 지불금액 (amount_paid) — VARCHAR(10)

Report from bookkeeping (report_from_bookkeeping)

  • 회계보고서번호 (book_rep_num) — INT(9) — Primary key — NOT NULL
  • 주간갱신보고서 (update_report) — VARCHAR(30)
  • 작성자 (name) — VARCHAR(30)
  • 직위 (position) — VARCHAR(30)
  • 작성날짜 (date_wrote) — VARCHAR(10)

Report from correction (report_from_correction)

  • 수정처리보고서번호 (cor_rep_num) — INT(9) — Primary key — NOT NULL
  • 작성날짜 (date_wrote) — VARCHAR(10)
  • 일일조정보고서 (daily_adj_rep) — VARCHAR(30)
  • 월간조정보고서 (mon_adj_rep) — VARCHAR(30)
  • 작성자 (writer) — VARCHAR(30)

Report from support (report_from_support)

  • 지원보고서번호 (sup_rep_num) — INT(9) — Primary key — NOT NULL
  • 발송번호 (send_num) — INT(9) — Foreign key → 총 발송 양식.발송번호 — NOT NULL
  • 작성자 (name) — VARCHAR(30)
  • 직위 (position) — VARCHAR(30)
  • 월간불평보고서 (complaint_report) — VARCHAR(30)
  • 분기설문지 (questionnaire) — VARCHAR(30)
  • 작성날짜 (date_wrote) — VARCHAR(10)
  • 고객통계 (cli_statistics) — VARCHAR(30)

Request another letter (request_another_letter)

  • 회계처리번호 (book_number) — INT(9) — Foreign key → Bookkeeping.회계처리번호 — NOT NULL
  • 페널티 (penalty) — VARCHAR(10)
  • 총미결제약정 (tot_out_bal) — VARCHAR(10)
  • 기본발송번호 (send_number) — INT(9) — Foreign key → 기본 발송 양식.기본발송번호 — NOT NULL

Request for default (request_for_default)

  • 파산발송번호 (send_number) — INT(9) — Primary key — NOT NULL
  • 발송번호 (send_num2) — INT(9) — Foreign key → 총 발송 양식.발송번호 — NOT NULL
  • 지원번호 (support_number) — INT(9) — Foreign key → Support Department.지원번호 — NOT NULL
  • 고객번호 (clinet_number) — INT(9) — Foreign key → 고객.고객번호 — NOT NULL
  • 발송날짜 (date_send) — VARCHAR(10)
  • 파산신청 (default_request) — CHAR(1)
  • 파산이유 (reason_default) — INT(1)
  • 교환원코드 (operator_code) — INT(4)
  • 수신날짜 (date_received) — VARCHAR(10)
  • 파산코드 (action_code) — INT(1)

Research Department (research_dep)

  • 리서치번호 (research_number) — INT(9) — Primary key — NOT NULL
  • 관리직원직책 (staff_position) — VARCHAR(30)
  • 관리직원이름 (staff_name) — VARCHAR(30)

Substitute Form (CopyOfresearch_dep)

  • 리서치번호 (research_number) — INT(9) — Foreign key → Research Department.리서치번호 — NOT NULL
  • 관리직원직책 (staff_position) — VARCHAR(30)
  • 계좌번호 (staff_name) — INT(30)
  • 계좌유무 (Field) — INT(30)
  • 추가조사내용 (Field2) — VARCHAR(150)

Support Department (support_dep)

  • 지원번호 (support_number) — INT(9) — Primary key — NOT NULL
  • 지원보고서번호 (sup_rep_num) — INT(9) — Foreign key → Report from support.지원보고서번호 — NOT NULL
  • 지원직원직책 (staff_position) — VARCHAR(30)
  • 지원직원이름 (staff_name) — VARCHAR(30)
  • 회신유무 (correspondence) — CHAR(1)
  • 회신종류 (cor_type) — INT(1)
  • 회신내용 (content) — VARCHAR(150)

Unapplied payment account (unapplied_payment_account)

  • 회계처리번호 (book_number) — INT(9) — Foreign key → Bookkeeping.회계처리번호 — NOT NULL
  • 미식별계좌번호 (unknown_account) — INT(30)
  • 미식별금액예금 (unknown_payment_deposit) — VARCHAR(10)
  • 현재잔액 (Balance) — VARCHAR(10)
  • 최종미래잔액 (new_balance) — VARCHAR(10)

고객 (client)

  • 고객번호 (clinet_number) — INT(9) — Primary key — NOT NULL
  • 계좌번호 (account_number) — INT(30)
  • 고객이름 (clinet_name) — VARCHAR(30)
  • 주소1 (address1) — VARCHAR(30)
  • 주소2 (address2) — VARCHAR(30)
  • 주 (state) — VARCHAR(30)
  • 도시 (city) — VARCHAR(15)
  • 우편번호 (zipcode) — INT(9)
  • 주소일치 (address_correct) — CHAR(1)
  • 부채 (dept) — CHAR(1)

기본 발송 양식 (payment_form_for sending)

  • 기본발송번호 (send_number) — INT(9) — Primary key — NOT NULL
  • 발송번호 (send_num2) — INT(9) — Foreign key → 총 발송 양식.발송번호 — NOT NULL
  • 고객번호 (clinet_number) — INT(9) — Foreign key → 고객.고객번호 — NOT NULL
  • 계좌번호 (account_num) — INT(30)
  • 우편번호 (zipcode) — INT(9)
  • 주소일치여부 (address_correction) — CHAR(1)
  • 송장날짜 (date_invoiced) — VARCHAR(10)
  • 유효시작일 (period_covered_start) — VARCHAR(10)
  • 유효종료일 (period_covered_finish) — VARCHAR(10)
  • 교환원코드 (operator_code) — INT(4)
  • 수신날짜 (date_received_cli) — VARCHAR(10)
  • 회신양식유무 (correspondent) — CHAR(1)
  • 지불한금액 (amount_paid) — VARCHAR(10)
  • 이전계좌잔액 (previous_bal) — VARCHAR(10)
  • 신규사용금액 (new_purchase) — VARCHAR(10)
  • 지불할금액 (payments) — VARCHAR(10)
  • 미결제금액 (outstanding_bal) — VARCHAR(10)
  • 최소상환금액 (minimum_pay_due) — VARCHAR(10)
  • 연체된미납금액 (past_amout_due) — VARCHAR(10)
  • 이번상환활금액 (pay_due_this_period) — VARCHAR(10)
  • 면제된금액 (amount_enclosed) — VARCHAR(10)

수신 양식 (first_received_form_from_customer)

  • 수신번호 (receive_number) — INT(9) — Primary key — NOT NULL
  • 고객번호 (clinet_number) — INT(9) — Foreign key → 고객.고객번호 — NOT NULL
  • 이름 (name) — VARCHAR(30)
  • 주소1 (address1) — VARCHAR(30)
  • 주소2 (address2) — VARCHAR(30)
  • 주 (state) — VARCHAR(30)
  • 도시 (city) — VARCHAR(15)
  • 우편번호 (zipcode) — INT(9)
  • 받은날짜 (receive_date) — VARCHAR(10)
  • 송장날짜 (date_invoiced) — VARCHAR(10)
  • 유효시작일 (period_covered_start) — VARCHAR(10)
  • 유효종료일 (period_covered_finish) — VARCHAR(10)
  • 현금유무 (cash) — CHAR(1)
  • 수표유무 (check) — CHAR(1)
  • 교환원코드 (operator_code) — INT(4)
  • 수신날짜 (date_received_cli) — VARCHAR(10)
  • 회신양식유무 (correspondent) — CHAR(1)
  • 지불한금액 (amount_paid) — VARCHAR(10)

총 발송 양식 (tot_send_form)

  • 발송번호 (send_num) — INT(9) — Primary key — NOT NULL
  • 발송자 (send_staff) — VARCHAR(30)
  • 발송이유 (send_reason) — VARCHAR(150)