학점계산기
테이블 (5)
College (Untitled5)
- Key — String — 기본 키 — NOT NULL
- Field (Name) — String
- Field2 (Major) — String
Lecture (Untitled4)
- Key — String — 기본 키 — NOT NULL
- Key (Listen) — String — 외래 키 → Listen.Key — NOT NULL
- Key (Key2) — String — 외래 키 → Listen.Key — NOT NULL
- Field (Category) — String — ENUM 과이름 교양(언문 등)
- Field2 (UnivName) — String
- Field3 (subjectNum) — String — 학수번호
- Field4 (subjectName) — String — 과목명
- Field5 (isRequired) — Boolean — 필수 과목인지 (과마다 필수 전공이 있음)
- Field6 (countGrades) — Int
- Field (Grades) — Int — NOT NULL — 몇 학년 과목 인지 null이면 전학년
Listen (Untitled3)
- Key — String — 기본 키 — NOT NULL
- FK (User) — String — 외래 키 → User.Key — NOT NULL
- Key (Key2) — String — 외래 키 → User.Key — NOT NULL
- Field (listenedSemester) — Int — ENUM 타입화 (1 ~ 12) max는 각 학교의 최대 학기 수 Front에는 1-1, 1-2 이런 식으로 표기
- Field2 (gradeScore) — Int — ENUM 타입 0 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 Front에는 F ~ A+로 표기
- Field3 (isRetry) — Boolean — 재수강하는 과목은 True
- Field4 (relativeSubject) — String — NOT NULL — 재수강시 다른 과목 연계하면 select Lecture에서 연결
- Field5 (availableRetry) — Boolean — 재수강 가능 C+ 이하만 True
University (Untitled2)
- Key — String — 기본 키 — NOT NULL
- Key (College) — String — 외래 키 → College.Key — NOT NULL
- Field (Name) — String
- Field3 (Major) — String — ENUM 타입화 1전공
- Field4 (graduatedGrades) — Int — ENUM화 단과 별로 다름 졸업 학점
- Field5 (countAllSemester) — Int — 총 학기수 12
- Field6 (countOneSemester) — Int — 단대별로 달라짐 학기별로 달라짐
- Field7 (availableRetryGrades) — Int — 재수강 남은 학점
- Field9 (hasSub) — String — NOT NULL — ENUM 이중/부/전공심화+부/전심
- Key (Submajor) — String — 외래 키 → College.Key — NOT NULL
User (Untitled)
- Key — String — 기본 키 — NOT NULL
- FK (Univ) — String — 외래 키 → University.Key — NOT NULL
- Key (Key2) — String — 외래 키 → University.Key — NOT NULL
- Field (Name) — String
- Field2 (studentId) — String
- Field3 (password) — String — hash하기
- Field4 (studentIdCard) — String — 학생증 사진
- Field5 (valid) — Boolean — 학생증 유효한지
- Field6 (currentSemetser) — String — ENUM 타입화 (1 ~ 12) max는 각 학교의 최대 학기 수 Front에는 1-1, 1-2 이런 식으로 표기
- Field6 (vacated) — Boolean — 휴학여부 휴학시에는 현재학기가 올라가면 안된다
- Field7 (countListenedSubject) — Int
- Field8 (countListenedMajorGrades) — Int
- Field9 (countListenedSubmajorGrades) — Int
- Field10 (countListenedElectivesGrades) — Int
- Field11 (countListenedAllGrades) — Int
- Field12 (countRetryGardes) — Int — 재수강 남은 학점