Xpert

Tables (9)

bankBook (통장 정보)

  • bankBookId (통장 아이디) — Primary key — NOT NULL
  • bookType (통장 종류) — NOT NULL
  • interestRate (이자율) — NOT NULL

bankBookData (통장 소유정보)

  • userId (로그인용 유저 아이디) — Foreign key → user.userId — NOT NULL
  • bankBookId (통장 아이디) — Foreign key → bankBook.bankBookId — NOT NULL
  • money (저축된 돈) — NOT NULL
  • Monthsavings (적금시 달마다 들어와야 하는 돈)
  • expertDate (만료일)

friend (친구 정보)

  • userId (로그인용 유저 아이디) — Foreign key → user.userId — NOT NULL

fxData (외화 데이터)

  • date (날짜) — DATE — Primary key — NOT NULL
  • price (가격) — inteager — NOT NULL

gold (금)

  • goldType (금 종류) — Primary key — NOT NULL
  • userId (로그인용 유저 아이디) — Foreign key → user.userId — NOT NULL
  • cnt (숫자) — NOT NULL

post (게시글)

  • postId (게시글 식별 아이디) — Primary key — NOT NULL
  • userId (로그인용 유저 아이디) — Foreign key → user.userId — NOT NULL
  • file (사진)
  • title (제목) — NOT NULL
  • content (내용) — NOT NULL

stock (주식)

  • stockId (주식 식별번호) — Primary key — NOT NULL
  • name (주식 이름) — NOT NULL

stockData (주식 소유정보)

  • userId (로그인용 유저 아이디) — Foreign key → user.userId — NOT NULL
  • stockId (주식 식별번호) — Foreign key → stock.stockId — NOT NULL

user (유저)

  • userId (로그인용 유저 아이디) — Primary key — NOT NULL
  • email (이메일) — NOT NULL
  • username (닉네임) — NOT NULL
  • password (비밀번호) — NOT NULL
  • profile (프로필 사진) — NOT NULL
  • money (현재 소유한 돈) — NOT NULL