착송

테이블 (7)

Account (계좌)

  • Key — 기본 키 — NOT NULL
  • userId (유저) — 외래 키 → User.Key — NOT NULL
  • bankId (은행) — 외래 키 → Bank.Key — NOT NULL
  • accountNumber (계좌번호)

Bank (은행)

  • Key — 기본 키 — NOT NULL
  • Key (Key2) — 외래 키 → ReturnBankTable.Key — NOT NULL
  • name (은행명)

Return (반환)

  • Key — 기본 키 — NOT NULL
  • requestUserAccountId (요청유저 계좌) — 외래 키 → Account.Key — NOT NULL
  • requestUserId (요청유저) — 외래 키 → User.Key — NOT NULL
  • returnBankTableId (수취인 계좌 은행, 실제 반환 계좌 은행) — 외래 키 → ReturnBankTable.Key — NOT NULL
  • responseName (수취인이름)
  • responseAccountNumber (수취인 계좌번호)
  • amount (금액)
  • commission (수수료)
  • status (상태)
  • remittanceDate (착오 송금 발생 일자)
  • remittanceReason (착오 송금 사유)
  • regDate (요청일자)
  • completeDate (완료일자)
  • returnAccountNumber (실제 반환 계좌)
  • responseUserId (수취인 유저) — 외래 키 → User.Key — NOT NULL

ReturnBankTable (Untitled)

  • Key — 기본 키 — NOT NULL
  • responseAccountBankId (수취인 계좌 은행)
  • returnAccountBankId (실제 반환 계좌 은행)

Terms (약관)

  • Key — 기본 키 — NOT NULL
  • essential (필수) — bool
  • title (제목)
  • content (내용)
  • available (유효성) — bool

User (유저)

  • Key — 기본 키 — NOT NULL
  • name (이름)
  • phoneNumber (휴대전화)
  • birth (생년월일)
  • gender (성별)
  • accountId (계정)
  • password (비밀번호)
  • isBanned (제재여부)
  • phoneCarrier (이동통신사)
  • createdDate (가입일자)
  • hashedRefreshToken (리프레시 토큰)

UserTerms (회원약관동의)

  • Key — 기본 키 — NOT NULL
  • userId (유저) — 외래 키 → User.Key — NOT NULL
  • termId (약관) — 외래 키 → Terms.Key — NOT NULL