Small Step

테이블 (5)

Coment (댓글)

  • 댓글아이디 (CommnerId) — NotNull — 기본 키 — NOT NULL
  • 유저아이디 (UserId) — NotNull — 외래 키 → User.유저아이디 — NOT NULL
  • 부모댓글아이디 (ParentCommnetId) — Null
  • 댓글 작성 시간 (CommentingTime) — NotNull
  • 댓글내용 (CommentContent) — NotNull

TodayGoal (목표)

  • 목표아이디 (GoalId) — NotNull — 기본 키 — NOT NULL
  • 게시물아이디 (UserStepId) — NotNull — 외래 키 → UserStep.게시물아이디 — NOT NULL
  • 목표내용 (GoalContent) — NotNull
  • 달성여부 (GoalCheck) — NotNull

User (유저)

  • 유저아이디 (UserId) — NotNull — 기본 키 — NOT NULL
  • 유저비밀번호 (UserPw) — NotNull
  • 유저닉네임 (UserNickName) — NotNull
  • 목표설정 알림 시간 (TodayGoalSetTime) — NotNull
  • 목표달성 갯수 (GoalCount) — Null
  • 유저레벨 (UserLevel) — NotNull
  • 총 목표 달성 갯수 (AllGoalCount) — Null

UserStep (유저게시물)

  • 게시물아이디 (UserStepId) — NotNull — 기본 키 — NOT NULL
  • 유저아이디 (UserId) — NotNull — 외래 키 → User.유저아이디 — NOT NULL
  • 오늘의 골 (TodayGoalCount) — Null
  • 오늘의 날짜 (TodayDate) — NotNull

알람 (Alarm)

  • 알람아이디 (AlarmId) — NotNull — 기본 키 — NOT NULL
  • 유저아이디 (UserId) — NotNull — 외래 키 → User.유저아이디 — NOT NULL
  • 알람종류 (AlarmType) — NotNull
  • 알람시간 (AlarmDate) — NotNull
  • 알람확인여부 (AlarmCheck) — NotNull