코인게시판

테이블 (8)

asking (입금 및 출금 관리자 승인)

  • asking_id (id) — int — 기본 키 — NOT NULL
  • amount (금액) — double
  • user_id (요청 계정) — int
  • created_date (요청 날짜) — datetime
  • status (승인 여부) — boolean
  • input_output (출금 또는 입금(intput/output)) — boolean

comment (댓글)

  • comment_id (id) — int — 기본 키 — NOT NULL
  • comment (댓글 내용) — str
  • date (날짜) — datetime
  • parent (부모 댓글의 ID) — int
  • community_id — int — 외래 키 → community.community_id — NOT NULL
  • user_id — int — 외래 키 → community.user_id — NOT NULL

community (게시판)

  • community_id (id) — int — 기본 키 — NOT NULL
  • user_id — int — 외래 키 → user.user_id — NOT NULL
  • title (제목) — str
  • content (내용) — str
  • date (날짜) — datetime
  • hits (조회수) — int
  • like (좋아요 갯수) — int
  • highlight (하이라이트 여부) — boolean
  • get_coin (응원받은 코인) — double

like (좋아요)

  • like_id (id) — int — 기본 키 — NOT NULL
  • community_id — int — 외래 키 → community.community_id — NOT NULL
  • user_id — int — 외래 키 → community.user_id — NOT NULL

staking (스테이킹)

  • staking_id (Key) — int — 기본 키 — NOT NULL
  • wallet_id — int — 외래 키 → wallet.wallet_id — NOT NULL
  • reward_amount (보상액) — double
  • expire_date (만기일) — datetime
  • created_date (생성일) — datetime
  • last_modified_date (마지막 수정일) — datetime
  • name (이름 및 별명) — str
  • percent (이자율) — double
  • start_amount (초기 금액) — dobule

transaction_history (거래 내역)

  • transaction_history_id (id) — int — 기본 키 — NOT NULL
  • from_address (보내는 지갑 주소) — str
  • to_address (받는 지갑 주소) — str
  • created_date (생성일) — datetime
  • tx (트랜젝션) — str
  • volume (Field)

user (계정)

  • user_id (id) — int — 기본 키 — NOT NULL
  • account (계정) — str
  • pw (비밀번호) — str
  • name (별명) — str
  • coin (보유 코인) — float

wallet (지갑)

  • wallet_id (id) — int — 기본 키 — NOT NULL
  • user_id — int — 외래 키 → user.user_id — NOT NULL
  • address (지갑 주소) — str
  • created_date (생성 날짜) — datetime
  • last_modified_date (마지막 수정 날짜) — datetime
  • name (이름) — str