Banking Server

Tables (3)

Accunt (계좌)

  • 계좌 고유값 (id) — Primary key — NOT NULL
  • 멤버 고유값 (member_id) — Foreign key → Member.멤버 고유값 — NOT NULL — Auto Increment
  • 계좌번호 (account_number)
  • 계좌 비밀번호 (account_password)
  • 은행명 (bank_name)
  • 잔액 (account_balance)
  • 생성일 (create_date)

Friend (친구)

  • 친구 고유값 (id) — Primary key — NOT NULL
  • 친구신청을 당한 유저 (to_member_id) — Foreign key → Member.멤버 고유값 — NOT NULL — Auto Increment
  • 친구신청을 건 유저 (from_member_id) — Foreign key → Member.멤버 고유값 — NOT NULL — Auto Increment
  • 생성일 (create_date)

Member (회원)

  • 멤버 고유값 (id) — Primary key — NOT NULL — Auto Increment
  • 멤버 아이디 (member_name)
  • 비밀번호 (password)
  • 성명 (name)
  • 이메일 (email)
  • 핀번호 (pin_number)
  • 생성일 (create_date)