Linko
Tables (14)
applicant (지원자)
- id — Long — Primary key — NOT NULL — Auto Increment
- 점수 (rate) — float — NOT NULL
- 상태 (status) — enum — NOT NULL
- id (application_id) — Long — Foreign key → application.id — NOT NULL — Auto Increment
- 보여지는 이름 (name) — varchar(40) — NOT NULL — 홍길동, 홍길동1, 홍길동2
- 실패여부 (is_fail) — Boolean — NOT NULL
- 평가한 회원 수 (count_of_evaluator) — Long — NOT NULL
- 실제 이름 (real_name) — varchar(40) — NOT NULL — 홍길동
application (지원서)
- id — Long — Primary key — NOT NULL — Auto Increment
- 제목 (title) — varchar(40) — NOT NULL
- 지원 링크 아이디 (url_id) — varchar(40) — NOT NULL — 지원자가 지원할때 보여줄 링크 맨마지막에 들어갈 UUID, INDEX
- 지원서 마감 여부 (staus_code) — varchar(40) — NOT NULL
- id (club_id) — Long — Foreign key → club.id — NOT NULL — Auto Increment
application_essential (지원서_필수질문)
- id (application_id) — int — Foreign key → application.id — NOT NULL — Auto Increment
- id (essential_id) — Long — Foreign key → essential_question.id — NOT NULL — Auto Increment
club (동아리)
- id — Long — Primary key — NOT NULL — Auto Increment
- profile (프로필이미지) — varchar — NOT NULL
- club_code (동아리 회원 가압 코드) — varchar — NOT NULL — INDEX
- name (동아리명) — varchar — NOT NULL
- start_date (서비스 사용 시작날짜) — varchar — NOT NULL
- end_date (서비스 사용 종료날짜) — varchar — NOT NULL
- count_of_member (동아리 회원 수) — Long — NOT NULL
essential_answer (필수질문답변)
- id — Long — Primary key — NOT NULL — Auto Incremnet
- 답변 (answer) — text — NOT NULL
- id (applicant_id) — Long — Foreign key → applicant.id — NOT NULL — Auto Increment
- id (essential_info_id) — Long — Foreign key → essential_question.id — NOT NULL — Auto Increment
essential_question (필수질문)
- id — Long — Primary key — NOT NULL — Auto Increment
- 내용 (content) — varchar(200) — NOT NULL
- 필수여부 (isRequire) — boolean — NOT NULL
evaluate (지원자에 대한 동아리 회원의 평가)
- id — Long — Primary key — NOT NULL — Auto Increment
- 평가점수 (score) — float — 1 ~ 10 사이
- 평가글 (comment) — TEXT
- id (memberId) — Long — Foreign key → member.id — NOT NULL — Auto Increment
- id (applicantId) — Long — Foreign key → applicant.id — NOT NULL — Auto Increment
- id (clubId) — Long — NOT NULL — 권한 확인용
form (설문)
- id — Long — Primary key — NOT NULL — Auto Increment
- 페이지제목 (title) — varchar(45) — NOT NULL
- id (application_id) — Long — Foreign key → application.id — NOT NULL — Auto Increment
member (회원)
- id — Long — Primary key — NOT NULL — Auto Increment
- 아이디 (member_id) — varchar(40) — NOT NULL — 3 ~ 20 자리 알파벳 대소문자 사용가능
- 비밀번호 (password) — varchar(40) — NOT NULL — 6 ~ 20 자리 알파벳 대소문자 사용가능 / 특수문자 1글자 포함해야함.
- 권한 (role) — varchar(40) — NOT NULL — ROLE_USER, ROLE_ADMIN 등
- 이름 (name) — varchar(40) — NOT NULL
- 휴대폰번호 (phone) — varchar(40) — NOT NULL — INDEX
- 이메일 (email) — varchar(40) — NOT NULL — INDEX
- id (club_id) — Long — Foreign key → club.id — NOT NULL — Auto Increment
memo (지원자에 대한 동아리 회원의 메모)
- id — Long — Primary key — NOT NULL — Auto Increment
- 메모내용 (content) — TEXT — NOT NULL
- id (memerId) — Long — Foreign key → member.id — NOT NULL — Auto Increment
- id (applicantId) — Long — Foreign key → applicant.id — NOT NULL — Auto Increment
- id (clubId) — Long — NOT NULL — 권한 확인용
option (객관식선지)
- id — Long — Primary key — NOT NULL — Auto Increment
- value — text — NOT NULL
- id (question_id) — Long — Foreign key → question.id — NOT NULL — Auto Incremnet
question (질문)
- id — Long — Primary key — NOT NULL — Auto Incremnet
- content — varchar(200) — NOT NULL
- type — enum(Question, CheckboxQuestion, RadioQuestion) — NOT NULL
- id (form_id) — Long — Foreign key → form.id — NOT NULL — Auto Increment
question_answer (질문답변)
- id — Long — Primary key — NOT NULL — Auto Increment
- answer — text — NOT NULL
- id (applicant_id) — Long — Foreign key → applicant.id — NOT NULL — Auto Increment
- id (question_id) — Long — Foreign key → question.id — NOT NULL — Auto Incremnet
refresh_token (refresh 토큰 저장소)
- id — Long — Primary key — NOT NULL — Auto Increment
- refresh_token — varchar(100) — NOT NULL
- id (member_id) — Long — Foreign key → member.id — NOT NULL — Auto Increment