BookProject

Tables (4)

cart-service (cart)

  • id — BIGINT(20) — Primary key — NOT NULL
  • created_at — DATETIME(6)
  • image_url — VARCHAR(120)
  • order_id — VARCHAR(120)
  • product_id — VARCHAR(120)
  • product_name — VARCHAR(120)
  • qty — INT(11)
  • total_price — INT(11)
  • unit_price — INT(11)
  • user_id — VARCHAR(120)

catalog-service (catalog)

  • id — BIGINT(20) — Primary key — NOT NULL
  • created_at — DATETIME(6)
  • image — VARCHAR(120)
  • product_id — VARCHAR(255)
  • product_name — VARCHAR(30)
  • stock — INT(11)
  • unit_price — INT(11)
  • writer — VARCHAR(50)

order-service (orders)

  • id — BIGINT — Primary key — NOT NULL
  • product_id — VARCHAR(120)
  • qty — INT(11)
  • unit_price — INT(11)
  • total_price — INT(11)
  • created_at — DATETIME(6)
  • user_id — VARCHAR(120)
  • order_id — VARCHAR(255)
  • status_code — INT(11)

user-service (users)

  • id — BIGINT — Primary key — NOT NULL
  • email — VARCHAR(50)
  • name — VARCHAR(50)
  • user_id — VARCHAR(255)
  • encrypted_pwd — VARCHAR(255)
  • address — VARCHAR(80)
  • phone — VARCHAR(15)
  • create_at — DATETIME(6) — NOT NULL