바른이
테이블 (21)
Alarm (Untitled2)
- alarmIdx (Key2) — 기본 키 — NOT NULL
- communityIdx (Key) — Long — 외래 키 → Community.communityIdx
- type (Field) — NOT NULL
- content (Field2) — NOT NULL
BaseEntity
- createdAt (Field) — timestamp — NOT NULL
- updatedAt (Field2) — timestamp
Booking (Reservation)
- bookingIdx (Key) — Long — 기본 키 — NOT NULL
- userIdx (Key2) — Long — 외래 키 → User.userIdx — NOT NULL
- hospitalIdx (Key3) — Long — 외래 키 → Hospital.hospitalIdx — NOT NULL
- method (Field3) — NOT NULL — 예약 방식
- bookinDate (Field4) — timestamp — 예약날짜()
Comment
- commentIdx (Key) — Long — 기본 키 — NOT NULL
- userIdx (Key2) — Long — 외래 키 → User.userIdx — NOT NULL
- communityIdx (Key3) — Long — 외래 키 → Community.communityIdx — NOT NULL
- comment (Field) — NOT NULL
Community (CommunityPost)
- communityIdx (Key) — Long — 기본 키 — NOT NULL
- userIdx (Key2) — Long — 외래 키 → User.userIdx — NOT NULL
- content (Field) — NOT NULL
Copy Of Comment (CopyOfComment)
- commentIdx (Key) — Long — 기본 키 — NOT NULL
- communityIdx (Key2) — Long — 외래 키 → Copy Of Community.communityIdx — NOT NULL
- userIdx (Key3) — Long — 외래 키 → Copy Of Community.userIdx — NOT NULL
- comment (Field) — NOT NULL
Copy Of Community (CopyOfCommunityPost)
- communityIdx (Key) — Long — 기본 키 — NOT NULL
- userIdx (Key3) — Long — 외래 키 → Copy Of User.userIdx — NOT NULL
- title (Field2)
- content (Field) — NOT NULL
Copy Of Copy Of Image (CopyOfCopyOfImage)
- imageIdx (Key) — Long — 기본 키 — NOT NULL
- hospitalIdx (Key2) — Long — 외래 키 → Copy Of Hospital.hospitalIdx — NOT NULL
- imageName (Field) — NOT NULL
- url (Field2) — NOT NULL
Copy Of Hospital (CopyOfDentistPost)
- hospitalIdx (Key) — Long — 기본 키 — NOT NULL
- hosName (Field) — NOT NULL — 치과이름
- telephone (Field9) — NOT NULL
- keywords (Field2) — ?? — NOT NULL
- openTime (Field3) — NOT NULL — 운영시간(ex. 매일 09:00-20:00)
- closedDay (Field4) — NOT NULL — 휴무일
- lunchTime (Field5) — NOT NULL — 점심시간
- content (Field6) — NOT NULL — 치과 소개글
- address (Field7) — NOT NULL — 치과 주소
- bookable (Field8) — bool — NOT NULL — 예약 가능 여부
Copy Of Image (CopyOfImage)
- imageIdx (Key) — Long — 기본 키 — NOT NULL
- communityIdx (Key2) — Long — 외래 키 → Copy Of Community.communityIdx — NOT NULL
- userIdx (Key3) — Long — 외래 키 → Copy Of Community.userIdx — NOT NULL
- imageName (Field) — NOT NULL
- url (Field2) — NOT NULL
Copy Of Like (CopyOfLike)
- likeIdx (Key) — Long — 기본 키 — NOT NULL
- userIdx (Key2) — Long — 외래 키 → Copy Of User.userIdx — NOT NULL
- communityIdx (Key3) — Long — 외래 키 → Copy Of Community.communityIdx — NOT NULL
Copy Of Review (CopyOfReview)
- reviewIdx (Key) — Long — 기본 키 — NOT NULL
- hospitalIdx (Key2) — Long — 외래 키 → Copy Of Hospital.hospitalIdx — NOT NULL
- totalScore (Field) — NOT NULL — 별점
- treatmentScore (Field2) — enum — NOT NULL — 진료 결과(bad, normal, good)
- serviceScore (Field3) — enum — NOT NULL — 서비스 품질(bad, normal, good)
- equipmentScore (Field4) — enum — NOT NULL — 시설 및 장비(bad, normal, good)
- content (Field5) — NOT NULL
- payment (Field6) — NOT NULL — 비용
- receipt (Field7) — bool — NOT NULL — 영수증 인증 여부
Copy Of Scrap (CopyOfScrap)
- scrapIdx (Key) — Long — 기본 키 — NOT NULL
- userIdx (Key2) — Long — 외래 키 → Copy Of User.userIdx — NOT NULL
- hospitalIdx (Key3) — Long — 외래 키 → Copy Of Hospital.hospitalIdx — NOT NULL
Copy Of User (CopyOfUser)
- userIdx (Key) — Long — 기본 키 — NOT NULL
- email (Field6) — NOT NULL
- password (Field7) — NOT NULL
- nickname (Field) — varchar(9) — NOT NULL
- name (Field9) — 실명
- phone (Field8)
- gender (Field2) — enum — NOT NULL — enum(male, Femal)
- age (Field3) — NOT NULL
- ortho (Field4) — bool — NOT NULL — 치아 교정 여부
- role (Field5) — enum — NOT NULL — (USER, .. )
- provider (Field10) — string — 로그인 형태 (ex: 카카오, 애플 ...)
Hospital (DentistPost)
- hospitalIdx (Key) — Long — 기본 키 — NOT NULL
- hosName (Field) — NOT NULL — 치과이름
- telephone (Field9) — NOT NULL
- keywords (Field2) — ?? — NOT NULL
- openTime (Field3) — NOT NULL — 운영시간(ex. 매일 09:00-20:00)
- closedDay (Field4) — NOT NULL — 휴무일
- lunchTime (Field5) — NOT NULL — 점심시간
- content (Field6) — NOT NULL — 치과 소개글
- address (Field7) — NOT NULL — 치과 주소
- bookable (Field8) — bool — NOT NULL — 예약 가능 여부
Image
- imageIdx (Key) — Long — 기본 키 — NOT NULL
- userIdx (Key2) — Long — 외래 키 → User.userIdx — 프로필 사진
- hospitalIdx (Key3) — Long — 외래 키 → Hospital.hospitalIdx — 치과 정보 사진
- reviewIdx (Key4) — Long — 외래 키 → Review.reviewIdx — 리뷰 사진
- imageName (Field) — NOT NULL
- url (Field2) — NOT NULL
Like
- likeIdx (Key) — Long — 기본 키 — NOT NULL
- userIdx (Key2) — Long — 외래 키 → User.userIdx — NOT NULL
- communityIdx (Key3) — Long — 외래 키 → Community.communityIdx — NOT NULL
Point (Untitled)
- pointIdx (Key) — 기본 키 — NOT NULL
- userIdx (Key2) — Long — 외래 키 → User.userIdx — NOT NULL
- content (Field) — NOT NULL
- amount (Field2) — NOT NULL
- expiryDate (Field3) — NOT NULL
Review
- reviewIdx (Key) — Long — 기본 키 — NOT NULL
- hospitalIdx (Key2) — Long — 외래 키 → Hospital.hospitalIdx — NOT NULL
- userIdx (Key3) — Long — 외래 키 → User.userIdx — NOT NULL
- totalScore (Field) — NOT NULL — 별점
- treatmentScore (Field2) — enum — NOT NULL — 진료 결과(bad, normal, good)
- serviceScore (Field3) — enum — NOT NULL — 서비스 품질(bad, normal, good)
- equipmentScore (Field4) — enum — NOT NULL — 시설 및 장비(bad, normal, good)
- content (Field5) — NOT NULL
- payment (Field6) — NOT NULL — 비용
- receipt (Field7) — bool — NOT NULL — 영수증 인증 여부
Scrap
- scrapIdx (Key) — Long — 기본 키 — NOT NULL
- userIdx (Key2) — Long — 외래 키 → User.userIdx — NOT NULL
- hospitalIdx (Key3) — Long — 외래 키 → Hospital.hospitalIdx — NOT NULL
User
- userIdx (Key) — Long — 기본 키 — NOT NULL
- email (Field6) — NOT NULL
- password (Field7) — NOT NULL
- nickname (Field) — varchar(9) — NOT NULL
- name (Field9) — 실명
- phone (Field8)
- gender (Field2) — enum — NOT NULL — enum(male, Femal)
- age (Field3) — NOT NULL
- ortho (Field4) — bool — NOT NULL — 치아 교정 여부
- role (Field5) — enum — NOT NULL — (USER, .. )
- provider (Field10) — string — 로그인 형태 (ex: 카카오, 애플 ...)