course-registration
Tables (7)
semester (학기)
- 학기 ID (semester_id) — Primary key — NOT NULL
- 학기명 (semester_name)
course (강의)
- 강의 ID (course_id) — Primary key — NOT NULL
- 강의명 (course_name)
- 정원 (capacity)
- 신청 가능 여부 (enrollment_approval)
- 과목 ID (subject_id) — Foreign key → subject.과목 ID — NOT NULL
- 학기 ID (semester_id) — Foreign key → semester.학기 ID — NOT NULL
courseHistroy (수강 내역)
- 수강내역 ID (history_id) — Primary key — NOT NULL
- 수강 강의 (course_id)
- 수강 과목 (subject_id)
- 성적 (grade)
- 이수학기 (semester_id)
- 회원 ID (user_id) — Foreign key → user.회원 ID — NOT NULL
enrollment (수강신청)
- 수강신청 ID (enrollment_id) — Primary key — NOT NULL
- 수강 상태 (enrollment_state)
- 강의 ID (course_id) — Foreign key → course.강의 ID — NOT NULL
- 회원 ID (user_id) — Foreign key → user.회원 ID — NOT NULL
studentInfo (학생 정보)
- 학생 정보 ID (student_id) — Primary key — NOT NULL
- 학번 (student_code)
- 잔여학기 수 (remaining_semester_cnt)
- 이수학기 수 (completed_semester_cnt)
- 졸업 가능 여부 (graduation_approval)
subject (과목)
- 과목 ID (subject_id) — Primary key — NOT NULL
- 과목명 (subject_name)
- 과목 코드 (subject_code)
- 과목 구분 (subject_type)
user (회원)
- 회원 ID (user_id) — Primary key — NOT NULL
- 회원 구분 (user_type)
- 학생 정보 ID (student_id) — Foreign key → studentInfo.학생 정보 ID — NOT NULL