fora-

Tables (7)

BaseUser (Untitled)

  • BaseUserId (유저 아이디) — Primary key — NOT NULL
  • username (아이디) — String
  • password (비밇번호) — String
  • nickname (닉네임) — String

ChatRoom (Untitled2)

  • ChatRoomId (채팅방 아이디) — Primary key — NOT NULL
  • BaseUserId (유저 아이디) — Foreign key → BaseUser.BaseUserId — NOT NULL

ChoiceEmotions (선택 감정)

  • ChoiceEmtionsId (Key) — Primary key — NOT NULL
  • List<Emtion> (선택 감정들) — List
  • seq (몇 번째 감정 선택인지) — Int
  • messageId (메시지 아이디) — ObjectId — Foreign key → Message.messageId — NOT NULL

Message (메시지)

  • messageId (메시지 아이디) — ObjectId — Primary key — NOT NULL
  • parentMessageId (이전 메시지) — ObjectId — Foreign key → Message.messageId — NOT NULL
  • text (메시지) — String
  • ChatRoomId (채팅방 아이디) — Foreign key → ChatRoom.ChatRoomId — NOT NULL
  • userNickname (유저 닉네임) — String

RecommendStrategy (추천 전략)

  • RecommendId (추천 전략 아이디) — Primary key — NOT NULL
  • messageId (메시지 아이디) — ObjectId — Foreign key → Message.messageId — NOT NULL
  • StrategyId (전략 아이디2) — ObjectId — Foreign key → Strategy.StrategyId — NOT NULL

Strategy (전략)

  • StrategyId (전략 아이디) — ObjectId — Primary key — NOT NULL
  • category (카테고리)
  • description (전략 설명) — String

UserSelectStrategy (유저 선택 전략)

  • userSelectId (유저 선택 전략 아이디) — ObjectId — Primary key — NOT NULL
  • messageId (메시지 아이디) — ObjectId — Foreign key → Message.messageId — NOT NULL