aeio

Tables (9)

ClassLike (좋아요)

  • classLikeId (좋아요 id) — BIGINT — Primary key — NOT NULL
  • memberId (멤버 id) — BIGINT — Foreign key → member.memberId — NOT NULL
  • classId (클래스 id) — BIGINT — Foreign key → class.classId — NOT NULL
  • createdAt (Field) — DATE
  • updatedAt (Field2) — DATE

class (클래스)

  • classId (클래스 id) — BIGINT — Primary key — NOT NULL
  • classType (클래스 타입 - BASIC / COLLABORATION) — ENUM — NOT NULL
  • className (클래스 이름)
  • teacher (선생님 이름) — String — NOT NULL
  • ThumbnailUrl (썸네일)
  • focus1 (집중 부위 1)
  • focus2 (집중 부위 2)
  • focus3 (집중 부위 3)
  • level (난이도) — NOT NULL
  • time (소요 시간) — NOT NULL
  • createdAt (생성일) — DATE — NOT NULL
  • updatedAt (수정일) — DATE

member (멤버)

  • memberId (멤버 id) — BIGINT — Primary key — NOT NULL
  • authId (카카오 제공 유저 id) — BIGINT — NOT NULL
  • name (카카오 제공 유저 이름) — String — NOT NULL
  • email (카카오 제공 유저 이메일) — String
  • profileURL (프로필 사진 url) — String
  • accessToken (서버 액세스 토큰) — String
  • refreshToken (서버 리프레쉬 토큰) — String
  • nickName (어플 내 닉네임) — String — NOT NULL
  • gender (성별) — ENUM — NOT NULL
  • ageGroup (연령대) — ENUM — NOT NULL
  • practiceCount (유저 운동 횟수) — int
  • totalExerciseTime (유저 운동 총 시간) — int
  • provider (로그인 출처) — ENUM
  • createdAt (생성일) — DATE — NOT NULL
  • updatedAt (수정일) — DATE

memberClass (구독 정보)

  • memberClassId (멤버-클래스 정보 id) — Primary key — NOT NULL
  • memberId (멤버 id) — BIGINT — Foreign key → member.memberId — NOT NULL
  • classId (클래스 id) — BIGINT — Foreign key → class.classId — NOT NULL
  • totalCount (멤버의 해당 클래스 운동 횟수) — int — NOT NULL
  • createdAt (클래스 시작일) — DATE
  • updatedAt (수정일) — DATE
  • deletedAt (삭제일) — DATE

practiceLog (유저의 일별 운동 정보)

  • practiceLogId (일별 운동 정보 id) — BIGINT — Primary key — NOT NULL
  • memberClassId (구독 정보 id) — BIGINT — Foreign key → memberClass.memberClassId — NOT NULL
  • count (몇 번 했는지)
  • feedBack (피드백) — String
  • beforePhoto (전 사진) — URL — NOT NULL
  • afterPhoto (후 사진) — URL
  • createdAt (운동 날짜) — DATE — NOT NULL
  • updatedAt (수정일) — DATE

review (리뷰사진)

  • reviewId (리뷰 id) — BIGINT — Primary key — NOT NULL
  • memberClassId (멤버-클래스 정보 id) — Foreign key → memberClass.memberClassId — NOT NULL
  • rate (리뷰 별점) — double — NOT NULL
  • reviewText (리뷰 텍스트) — string
  • reviewTotalCount (유저가 몇번 운동했는지)
  • reviewStreakCount (유저가 몇번 연속 진행했는지)
  • createdAt (작성일) — DATE — NOT NULL
  • updatedAt (수정일) — DATE

reviewPhoto (Untitled)

  • reviewPhotoId (리뷰사진 id) — BIGINT — Primary key — NOT NULL
  • reviewId (리뷰 id) — BIGINT — Foreign key → review.reviewId — NOT NULL
  • photoUrl (사진 Url) — URL

userAgreement (멤버 동의)

  • userAgreementId (멤버 동의 id) — BIGINT — Primary key — NOT NULL
  • termsVersion (이용약관 버전) — String — NOT NULL
  • privacyVersion (개인정보 버전) — String — NOT NULL
  • termsAgree (이용약관동의) — Boolean — NOT NULL
  • privacyAgree (개인정보동의) — Boolean — NOT NULL
  • personalInfoAgree (개인정보수집이용동의) — Boolean — NOT NULL
  • ageOver14At (14세이상동의) — Boolean — NOT NULL
  • marketingAgree (마케팅동의) — Boolean
  • agreedAt (동의시각) — LocalDate — NOT NULL
  • memberId (멤버 id) — BIGINT — Foreign key → member.memberId — NOT NULL

worry (고민부위)

  • worryId (고민부위 id) — BIGINT — Primary key — NOT NULL
  • memberId (멤버 id) — BIGINT — Foreign key → member.memberId — NOT NULL
  • name (고민부위 이름) — String — NOT NULL