Shall We Study?

Tables (12)

CafeEntity (Untitled8)

  • CafeKey (Key) — Long — Primary key — NOT NULL
  • 카페명 (CafeName) — String
  • 주소 (Address) — String
  • 평점 (Rating) — Int
  • LocationKey (Key2) — Long — Foreign key → LocationEntity.LocationKey — NOT NULL

CategoryEntity (Untitled4)

  • CategoryKey (Key) — Long — Primary key — NOT NULL
  • 카테고리명 (CategoryName) — String

CommentEntity (Untitled3)

  • CommentKey (Key) — Primary key — NOT NULL
  • 작성 날짜 (CreatedAt) — Date
  • 수정 날짜 (UpdateAt) — Date
  • 좋아요 수 (LikeCnt) — Int
  • 내용 (Content) — String
  • UserKey (Key2) — Long — Foreign key → UserEntity.UserKey — NOT NULL
  • PostKey (Key3) — Long — Foreign key → PostEntity.PostKey — NOT NULL
  • 삭제 여부 (IsDel) — Bool
  • 부모댓글 ID (Key4) — Long — Foreign key → CommentEntity.CommentKey — NOT NULL

FileEntity (Untitled5)

  • FileKey (Key) — Long — Primary key — NOT NULL
  • 파일명 (FileName) — String
  • PostKey (Key2) — Long — Foreign key → PostEntity.PostKey — NOT NULL
  • 파일 경로 (FileRout) — String
  • 파일 형식 (FileType) — String
  • 파일 크기 (FileSize) — Int

FriendsEntity (Untitled12)

  • FriendsKey (Key) — Primary key — NOT NULL
  • 친구이름 (Field) — String
  • 친구닉네임 (Field2) — String
  • 친구여부' (Field3) — Bool
  • UserKey (사용자키) — Long — Foreign key → UserEntity.UserKey — NOT NULL
  • 친구프로필 (Field7) — String

LIkeEntity (Untitled6)

  • LIkeKey (Key) — Primary key — NOT NULL
  • 삭제 여부 (IsDel) — Bool
  • 좋아요 취소 (UnLike) — Bool
  • PostKey (Key2) — Long — Foreign key → PostEntity.PostKey — NOT NULL
  • UserKey (Key3) — Long — Foreign key → UserEntity.UserKey — NOT NULL
  • CommentKey (Key4) — Long — Foreign key → CommentEntity.CommentKey — NOT NULL

LocationEntity (Untitled7)

  • LocationKey (Key) — Long — Primary key — NOT NULL
  • 장소 유형 (LocationType) — Enum
  • 중간 지점 (Middle) — String
  • 주소 (Address) — String
  • UserKey (Key2) — Long — Foreign key → UserEntity.UserKey — NOT NULL

PostEntity (Untitled2)

  • PostKey (Key) — Long — Primary key — NOT NULL
  • 제목 (Title) — String
  • 내용 (Content) — String
  • 댓글 수 (Comment) — Int
  • 조회수 (Views) — Int
  • 좋아요 수 (LikeCnt) — Int
  • 작성 날짜 (CreatedAt) — Date
  • 수정 날짜 (UpdateAt) — Date
  • CategoryKey (Key3) — Long — Foreign key → CategoryEntity.CategoryKey — NOT NULL
  • 삭제 여부 (IsDel) — Bool
  • UserKey (사용자키) — Long — Foreign key → UserEntity.UserKey — NOT NULL

PostTagEntity (Untitled10)

  • PostKey (Key) — Long — Foreign key → PostEntity.PostKey — NOT NULL
  • TagKey (Key2) — Long — Foreign key → TagEntity.TagKey — NOT NULL

TagEntity (Untitled9)

  • TagKey (Key) — Long — Primary key — NOT NULL
  • 태그명 (Field) — Enum

UserEntity (Untitled)

  • UserKey (사용자키) — Long — Primary key — NOT NULL
  • ID (회원ID) — String
  • 비밀번호 (Password) — String
  • 권한 (UserRole) — UserRole
  • 닉네임 (Nickname) — String
  • 장소 (Location) — String
  • 삭제 여부 (IsDel) — Bool
  • 이름 (username)
  • 사용자 프로필 (Field) — String
  • 친구수 (Field2) — 친구id
  • 좋아요수 (Field4) — 좋아요id
  • 댓글수 (Field5) — 댓글id
  • 레벨 (Field3) — enum

UserTagEntity (Untitled11)

  • UserKey (Key) — Long — Foreign key → UserEntity.UserKey — NOT NULL
  • TagKey (Key2) — Long — Foreign key → TagEntity.TagKey — NOT NULL