currency exchange

Tables (3)

Currency

  • 통화 고유 번호 (id) — NOT NULL, AUTO INCREMENT, PRIMARY_KEY — Primary key — NOT NULL
  • 환율 (exchange_rate) — NOT NULL
  • 통화 이름 (currency_name) — NOT NULL
  • 표시 (simbol) — NOT NULL
  • 생성일자 (created_at) — NOT NULL
  • 수정일자 (modified_at) — NOT NULL

Currency_exchange

  • 환전 요청 고유 식별자 (id) — NOT NULL, AUTO INCREMENT, PRIMARYKEY — Primary key — NOT NULL
  • 유저 고유 번호 (user_id) — Not null, FK — Foreign key → User.유저 고유 번호 — NOT NULL
  • 통화 고유 번호 (id2) — NOT NULL, AUTO INCREMENT, PRIMARY_KEY — Foreign key → Currency.통화 고유 번호 — NOT NULL
  • 환전 전 금액 (amount_in_krw) — NOT NULL
  • 환전 후 금액 (amount_after_exchange) — NOT NULL
  • 상태 (status) — NOT NULL
  • 생성일자 (created_at) — NOT NULL
  • 수정일자 (modified_at) — NOT NULL

User

  • 유저 고유 번호 (id) — Not null, auto increment, primary_key — Primary key — NOT NULL
  • 유저 이메일 (email) — NOT NULL
  • 유저 이름 (name) — NOT NULL
  • 생성일자 (created_at) — NOT NULL
  • 수정일자 (modified_at) — NOT NULL