JBank

테이블 (8)

User

  • id — integer — 기본 키 — NOT NULL
  • 아이디 (username) — varchar
  • 비밀번호 (password) — varchar
  • 이메일 (email) — varchar
  • 이름 (nickname) — varchar
  • 나이 (age) — integer
  • 자산 (money) — integer
  • 연봉 (salary) — integer
  • 가입 상품 정보 (Field) — list

예금 option (Deposit_option)

  • id — integer — 기본 키 — NOT NULL
  • deposit_id (product) — integer — 외래 키 → 정기예금.id — NOT NULL
  • id (id2) — 외래 키 → 정기예금.user_id — NOT NULL
  • 저축 금리 유형 (intr_rate_type) — Text
  • 저축 금리 유형명 (intr_rate_type_nm) — Char(max=100)
  • 저축 기간 [단위: 개월] (save_trm) — Integer
  • 저축 금리 [소수점 2자리] (intr_rate) — Float
  • 최고 우대금리 [소수점 2자리] (intr_rate2) — Float

적금 (Saving)

  • id — integer — 기본 키 — NOT NULL
  • user_id (saving) — 외래 키 → User.id — NOT NULL
  • 공시 제출월 (dcls_month) — text
  • 금융회사 코드 (fin_co_no) — text
  • 금융회사 명 (kor_co_nm) — text
  • 금융상품 코드 (fin_prdt_cd) — text
  • 금융 상품명 (fin_prdt_nm) — text
  • 가입 방법 (join_way) — text
  • 만기 후 이자율 (mtrt_int) — text
  • 우대조건 (spcl_cnd) — text
  • 가입제한 Ex) 1:제한없음, 2:서민전용, 3:일부제한 (join_deny) — Integer
  • 가입대상 (join_member) — text
  • 기타 유의사항 (etc_note) — text
  • 최고한도 (max_limit) — Integer
  • 공시 시작일 (dcls_strt_day) — text
  • 공시 종료일 (dcls_end_day) — text
  • 금융회사 제출일 [YYYYMMDDHH24MI] (fin_co_subm_day) — text

적금 option (Saving_option)

  • id — integer — 기본 키 — NOT NULL
  • saving_id (product) — integer — 외래 키 → 적금.id — NOT NULL
  • id (id2) — 외래 키 → 적금.user_id — NOT NULL
  • 저축 금리 유형 (intr_rate_type) — Text
  • 저축 금리 유형명 (intr_rate_type_nm) — varchar(100)
  • 적립 유형 (rsrv_type) — text
  • 적립 유형명 (rsrv_type_nm) — text
  • 저축 기간 [단위: 개월] (save_trm) — Integer
  • 저축 금리 [소수점 2자리] (intr_rate) — Float
  • 최고 우대금리 [소수점 2자리] (intr_rate2) — Float

정기예금 (Deposit)

  • id — integer — 기본 키 — NOT NULL
  • user_id (deposit) — integer — 외래 키 → User.id — NOT NULL
  • 금융상품 코드 (fin_prdt_cd) — text(unique)
  • 공시 제출월 (dcls_month) — text — NOT NULL
  • 금융회사 코드 (fin_co_no) — text — NOT NULL
  • 금융회사 명 (kor_co_nm) — text
  • 금융 상품명 (fin_prdt_nm) — text
  • 가입 방법 (join_way) — text
  • 만기 후 이자율 (mtrt_int) — text
  • 우대조건 (spcl_cnd) — text
  • 가입제한 Ex) 1:제한없음, 2:서민전용, 3:일부제한 (join_deny) — Integer
  • 가입대상 (join_member) — text
  • 기타 유의사항 (etc_note) — text
  • 최고한도 (max_limit) — Integer
  • 공시 시작일 (dcls_strt_day) — text
  • 공시 종료일 (dcls_end_day) — text
  • 금융회사 제출일 [YYYYMMDDHH24MI] (fin_co_subm_day) — text

커뮤니티 게시글 (Article)

  • id — integer — 기본 키 — NOT NULL
  • user_id — 외래 키 → User.id — NOT NULL
  • 제목 (title) — varchar(100)
  • 내용 (content) — text
  • 생성일 (created_at) — datetime
  • 수정일 (updated_at) — datetime

커뮤니티 댓글 (Comment)

  • id — 기본 키 — NOT NULL
  • article_id — integer — 외래 키 → 커뮤니티 게시글.id — NOT NULL
  • user_id — 외래 키 → 커뮤니티 게시글.user_id — NOT NULL
  • 내용 (content) — text
  • 생성일 (created_at) — datetime
  • 수정일 (updated_at) — datetime

환율 (ExchangeRates)

  • id — integer — 기본 키 — NOT NULL
  • 조회 결과 (result) — integer
  • 통화코드 (cur_unit) — text
  • 전신환(송금)받으실때 (ttb) — text
  • 전신환(송금)보내실때 (tts) — text
  • 매매 기준율 (deal_bas_r) — text
  • 장부가격 (bkpr) — text
  • 년환가료율 (yy_efee_r) — text
  • 10일환가료율 (ten_dd_efee_r) — text
  • 서울외국환중개매매기준율 (kftc_bkpr) — text
  • 서울외국환중개장부가격 (kftc_deal_bas_r) — text
  • 국가/통화명 (cur_nm) — text