coffee_system

Tables (4)

Menu (Untitled)

  • id (PK) — Long — Primary key — NOT NULL — 메뉴 아이디
  • name (Field) — String — 메뉴 이름
  • price (Field2) — int — 메뉴 가격

Order (Untitled2)

  • id (PK) — Long — Primary key — NOT NULL — 주문서 아이디
  • userId (Field) — Long — 유저 아이디
  • menuId (Field2) — Long — 메뉴 아이디
  • menuPrice (Field3) — int — 메뉴 가격
  • nowPoint (Field4) — int — 유저 현재 보유 포인트
  • createdAt (Field5) — LocalDateTime — 생성 일시
  • modifiedAt (Field6) — LocalDateTime — 수정 일시

PointLog (Untitled3)

  • id (PK) — Long — Primary key — NOT NULL — 포인트로그 아이디
  • userId (Field) — Long — 유저 아이디
  • nowPoint (Field2) — int — 유저 현재 보유 포인트
  • plusOrMinus (Field3) — String — 포인트 이력 구분
  • changePoint (Field4) — int — 충전/사용 포인트
  • createdAt (Field5) — LocalDateTime — 생성 일시

User (Untitled4)

  • id (Key) — Long — Primary key — NOT NULL — 유저 아이디
  • point (Field) — int — 유저 현재 보유 포인트