갈래
테이블 (6)
유저 (user)
- userid (유저아이디) — int — 기본 키 — NOT NULL
- email (이메일) — String
- password (비밀번호) — String
- role (역할) — String
- point — bigint
- refreshtoken (토큰) — String
- profileImg (프로필사진) — String
자료실 (archive)
- archiveId (자료실아이디) — int — 기본 키 — NOT NULL
- category (게시판명) — String
- title (제목) — String
- writer (글쓴이) — String
- file (첨부파일) — StringURL
- description (본문내용) — String
- hashtag (해시테그) — String
- userid (유저아이디) — int — 외래 키 → 유저.userid — NOT NULL
지원후기 (review)
- reviewId (후기아이디) — int — 기본 키 — NOT NULL
- category (게시판명) — String
- title (제목) — String
- writer (글쓴이) — String
- file (첨부파일) — StringURL
- description (본문내용) — String
- hashtag (해시테그) — String
- userid (유저아이디) — int — 외래 키 → 유저.userid — NOT NULL
찜 (like)
- userid (유저아이디) — int — 외래 키 → 유저.userid — NOT NULL
- programId (프로그램아이디) — int — 외래 키 → 프로그램.programId — NOT NULL
포인트 (point)
- pointId (포인트아이디) — int — 기본 키 — NOT NULL
- pointScore (포인트 점수) — int
- pointActivity (활동내역) — String
- pointCategory (포인트 분류)
- date (날짜) — LocalDate
- time (시간) — LocalDate
- userid (유저아이디) — int — 외래 키 → 유저.userid — NOT NULL
프로그램 (program)
- programId (프로그램아이디) — int — 기본 키 — NOT NULL
- programName (프로그램 이름) — String
- programRegion (프로그램지역) — String
- tripPeriod (여행기간) — LocalDate
- activePeriod (활동기간) — LocalDate
- reference (문의처) — String
- referenceNumber (문의처전화번호) — String
- link (신청링크) — String
- description (상세내용) — String
- programType (프로그램 타입) — String
- detailType (디테일 타입) — String
- img (이미지) — String
- like (찜수) — Bigint
- viewCount (조회수) — Bigint
- startDate (모집시작시간) — LocalDate
- endDate (모집마감시간) — LocalDate
- state (프로그램 상태값) — String
- hashTag (해시테그) — String