auctionApi

Tables (4)

tbl_auction

  • idx — int — Primary key — NOT NULL — 경매장 키
  • userKey — int — Foreign key → tbl_item.userKey — NOT NULL — 유저 유니크 키
  • itemKey — int — Foreign key → tbl_item.itemKey — NOT NULL — 아이템 유니크 키
  • state — int — NOT NULL — 경매 상태
  • itemID — int — 아이템ID
  • itemType — int — NOT NULL — 아이템 타입
  • itemInfo — text — 아이템 정보 Json
  • curBiddingCost — int — NOT NULL — 현재 경매가
  • oldBiddingCost — int — NOT NULL — 이전 경매가
  • immediatelyCost — int — 즉시 구매가
  • sellerUserKey — int — NOT NULL — 판매자 키
  • buyerUserKey — int — NOT NULL — 구매자 키
  • endDateTime — datetime — NOT NULL — 경매 종료시간
  • createDateTime — datetime — NOT NULL — 경매 시작 시간

tbl_biddingUser

  • bidding_idx — int — Primary key — NOT NULL — 비딩 키
  • idx — int — Foreign key → tbl_auction.idx — NOT NULL — 경매장 키
  • userKey — int — Foreign key → tbl_user.userKey — NOT NULL — 유저 유니크 키
  • biddingCost — int — NOT NULL — 입찰 가격

tbl_item

  • itemKey — int — Primary key — NOT NULL — 아이템 유니크 키
  • userKey — int — Foreign key → tbl_user.userKey — NOT NULL — 유저 유니크 키
  • itemID — int — NOT NULL — 아이템 ID
  • itemType — int — NOT NULL — 아이템 타입
  • count — int — NOT NULL — 아이템 수
  • createDateTime — datetime — NOT NULL — 생성 시간

tbl_user

  • userKey — int — Primary key — NOT NULL — 유저 유니크 키
  • nickName — varchar(50) — 닉네임
  • userType — tinyint(4) — NOT NULL — 유저 타입
  • exp — int(11) — NOT NULL — 경험치
  • gold — bigint(20) — NOT NULL — 골드
  • loginDateTime — datetime — NOT NULL — 로그인 시간
  • logoutDateTime — datetime — NOT NULL — 로그아웃 시간
  • createDateTime — datetime — NOT NULL — 계정 생성 시간