memory_guard

테이블 (5)

권한 (Role)

  • Key — Long — 기본 키 — NOT NULL
  • 권한 (name) — String

알림 (Notification)

  • Key — 기본 키 — NOT NULL
  • 메시지 (message) — String
  • 보낸날짜 (sentAt) — LocalDateTime
  • 알림의 종류 (type) — String
  • 유저ID (userId) — Long — 외래 키 → 유저.PK — NOT NULL

유저 (User)

  • PK (Key) — Long — 기본 키 — NOT NULL
  • 아이디 (userId) — String
  • 비밀번호 (password) — String
  • 닉네임 (username) — String
  • 연속해서 음성녹음한 횟수 (consecutiveRecordingDays) — Integer
  • 마지막 음성녹음 날짜 (lastRecordingDate) — LocalDateTime
  • Field

유저권한 (users_role)

  • 유저ID (userId) — Long — 외래 키 → 유저.PK — NOT NULL
  • 권한ID (roleId) — Long — 외래 키 → 권한.Key — NOT NULL

음성녹음메타데이터 (AudioMetadata)

  • Key — 기본 키 — NOT NULL
  • 파일경로 (filePath) — String
  • 파일이름 (originalFilename) — String
  • 파일크기 (fileSize) — Long
  • 녹음길이 (duration) — Long
  • 만든날짜 (createdAt) — LocalDateTime
  • 수정날짜 (updatedAt) — LocalDateTime
  • 유저ID (userId) — Long — 외래 키 → 유저.PK — NOT NULL