Fcm-SpringBoot

Tables (6)

Alarm (알람)

  • 알람 id (id) — NOT NULL — Primary key — NOT NULL
  • 멤버 id (memberId) — NOT NULL — Foreign key → Member.멤버 id — NOT NULL
  • 제목 (title) — NOT NULL
  • 내용 (content) — NOT NULL
  • 이동할 url (url)
  • 이미지 (img)

Member (유저)

  • 멤버 id (id) — NOT NULL — Primary key — NOT NULL
  • 이메일 (Field) — NOT NULL
  • 비밀번호 (password) — NOT NULL

Token (FCM 토큰)

  • 토큰 id (id) — NOT NULL — Primary key — NOT NULL
  • 멤버 id (memberId) — NOT NULL — Foreign key → Member.멤버 id — NOT NULL
  • 토큰 값 (tokenValue) — NOT NULL
  • 토큰 만료 기한 (expirationDate) — NOT NULL

Topic (FCM 토픽)

  • 토픽 id (id) — NOT NULL — Primary key — NOT NULL
  • 토픽명 (topicName) — NOT NULL

Topic_Member (토픽_멤버(다대다))

  • Key — Primary key — NOT NULL
  • 토픽 id (topicId) — NOT NULL — Foreign key → Topic.토픽 id — NOT NULL
  • 멤버 id (memberId) — NOT NULL — Foreign key → Member.멤버 id — NOT NULL

Topic_Token (토픽_토큰(다대다))

  • 토픽_토큰 id (id) — NOT NULL — Primary key — NOT NULL
  • 토픽 id (topicId) — NOT NULL — Foreign key → Topic.토픽 id — NOT NULL
  • 토큰 id (tokenId) — NOT NULL — Foreign key → Token.토큰 id — NOT NULL