heekuuproject _Bank

Tables (3)

Account (계좌정보)

  • Key (user) — User — Primary key — NOT NULL
  • Key (id) — Long — Foreign key → User.Key — NOT NULL
  • (accountNumber) — String
  • (accountStatuas) — AccountStatus
  • (balance) — Long
  • (registeredAt) — LocalDataTime
  • (unregisteredAt) — LocalDataTime

Transaction (거래)

  • Key (account) — Account — Primary key — NOT NULL
  • Key (user) — User — Foreign key → Account.Key — NOT NULL
  • Key (id) — Long — Foreign key → Account.Key — NOT NULL
  • (transactionType) — TransactionType
  • (transactionResultType) — TransactionResultType
  • (amount) — Long
  • (banlanceSnapshot) — Long
  • (transactionld) — String
  • (transactedAt) — LocalDateTime

User (사용자)

  • Key (id) — Long — Primary key — NOT NULL
  • (name) — String