GCMS2
Tables (9)
Applicant (지원자)
- id (지원 id) — Primary key — NOT NULL — ULID
- clubId (동아리 id) — Foreign key → Club.id — NOT NULL — ULID
- userId (유저 id) — Foreign key → User.id — NOT NULL — ULID
Attendance (출석자)
- id (출석자 id) — Primary key — NOT NULL
- userId (유저 id) — Foreign key → User.id — NOT NULL
- clubId (동아리 id) — Foreign key → Club.id — NOT NULL
- status (출석 상태) — NOT NULL — NOT_ATTENDED, ATTENDED
- period (출석 시간) — NOT NULL — SEVENTH, EIGHTH, NINTH, TENTH, ELEVENTH
- data (날짜) — NOT NULL
Club (동아리)
- id (동아리 id) — Primary key — NOT NULL
- name (이름) — NOT NULL
- clubImg (커버 이미지) — NOT NULL
- introduction (소개글) — NOT NULL
- notionLink (노션 링크)
- recruitment (모집 공고 선택) — NOT NULL
- startedAt (모집 시작) — recruitment = true라면 NOT NULL
- endedAt (모집 끝) — startedAt과 동일
- type (동아리 종류) — NOT NULL — MAJOR, FREEDOM, TEAM, STARTUPS
ClubMember (동아리 멤버)
- id (멤버 id) — Primary key — NOT NULL
- clubId (동아리 id) — Foreign key → Club.id — NOT NULL
- userId (유저 id) — Foreign key → User.id — NOT NULL
ClubNotice (동아리 공지)
- id (동아리 공지id) — Primary key — NOT NULL
- clubId (동아리 id) — Foreign key → Club.id — NOT NULL
- userId (유저 id) — Foreign key → User.id — NOT NULL
- title (제목) — NOT NULL
- content (내용) — NOT NULL
Notice (공지)
- id (공지 id) — NOT NULL — Primary key — NOT NULL
- userId (유저 id) — Foreign key → User.id — NOT NULL
- title (제목) — NOT NULL
- content (내용) — NOT NULL
User (유저)
- id (유저 id) — Primary key — NOT NULL — ULID
- name (이름) — NOT NULL
- email (이메일) — NOT NULL
- profileImg (프로필 이미지) — NOT NULL
UserMajor (전공)
- id (전공 id) — Primary key — NOT NULL
- userId (유저 id) — Foreign key → User.id — NOT NULL
- major (전공) — NOT NULL — UIUX, FRONTEND, BACKEND, GAME, CLOUD, SECURITY, PM, AI, AOS, IOS, FLUTTER, IT
UserRole (유저 권한)
- id (유저 권한 id) — Primary key — NOT NULL
- userId (유저 id) — Foreign key → User.id — NOT NULL
- authority (유저 권한) — NOT NULL — ROLE_STUDENT, ROLE_TEACHER, ROLE_ADMIN