cotato_1

테이블 (4)

운영진 (Manager)

  • 운영진 ID (manager_id) — bigint — 기본 키 — NOT NULL — auto_increment
  • 이름 (name) — varchar(10) — NOT NULL
  • 나이 (age) — integer — NOT NULL
  • 연락처 (phone_number) — varchar(11) — NOT NULL
  • 역할 (role) — enum — NOT NULL
  • 생성일시 (created_at) — datetime — NOT NULL
  • 수정일시 (updated_at) — datetime — NOT NULL

지원자 (Applicant)

  • 지원자 ID (applicant_id) — bigint — 기본 키 — NOT NULL — auto_increment
  • 이름 (name) — varchar(10) — NOT NULL
  • 나이 (age) — integer — NOT NULL
  • 연락처 (phone_number) — varchar(11) — NOT NULL

지원자 서류 (Application)

  • 지원서 ID (application_id) — bigint — 기본 키 — NOT NULL — auto_increment
  • 지원자 ID (applicant_id) — bigint — 외래 키 → 지원자.지원자 ID — NOT NULL — auto_increment
  • 지원기수 (period) — integer — NOT NULL
  • 지원 파트 (part) — enum — NOT NULL
  • 실력 (ability) — intger — NOT NULL
  • 열정 (passion) — integer — NOT NULL
  • 제출 시간 (application_time) — datetime — NOT NULL
  • 좋아요 수 (likes_count) — integer — NOT NULL

지원자 서류 좋아요 (Like)

  • 운영진 ID (manager_id) — bigint — 외래 키 → 운영진.운영진 ID — NOT NULL — auto_increment
  • 지원서 ID (application_id) — bigint — 외래 키 → 지원자 서류.지원서 ID — NOT NULL — auto_increment