PomEdu

테이블 (15)

강사 (teachers_tb)

  • 강사번호 (teacher_id) — number — 기본 키 — NOT NULL
  • 직원번호 (worker_id) — number — 외래 키 → 직원.직원번호 — NOT NULL
  • 과목 (teacher_subject) — varchar(20) — NOT NULL
  • 최종학력 (teacher_grad) — varchar(100)
  • 이력 (teacher_spec) — text
  • 사진 (teacher_image) — image

문제 (questions_tb)

  • 문제번호 (q_id) — 기본 키 — NOT NULL
  • 시험번호 (test_id) — number — 외래 키 → 시험.시험번호 — NOT NULL
  • 과목 (q_subject) — varchar(20)
  • 타입 (q_type) — varchar(20) — 주관식/객관식
  • 유형1 (q_cat1) — varchar(100)
  • 유형2 (q_cat2) — varchar(100)
  • 유형3 (q_cat3) — varchar(100)
  • 문제(텍스트) (q_content) — text
  • 문제(이미지) (q_img) — image
  • 보기1 (q_cho1) — text
  • 보기2 (q_cho2) — text
  • 보기3 (q_cho3) — text
  • 보기4 (q_cho4) — text
  • 보기5 (q_cho5) — text
  • 보기1(이미지) (q_cho1_img) — image
  • 보기2(이미지) (q_cho2_img) — image
  • 보기3(이미지) (q_cho3_img) — image
  • 보기4(이미지) (q_cho4_img) — image
  • 보기5(이미지) (q_cho5_img) — image
  • 정답 (q_ans) — number

상담 (councle_tb)

  • 상담번호 (councle_id) — number — 기본 키 — NOT NULL
  • 상담자 (worker_id) — number — 외래 키 → 직원.직원번호 — NOT NULL
  • 연락처 (councle_contact) — number
  • 상담시간 (councle_created_at) — date
  • 상담분류 (councle_cat) — varchar(20)
  • 상담내용 (councle_content) — text
  • 종결여부 (councle_fin) — bool
  • 종결(처리자) (worker_id2) — number — 외래 키 → 직원.직원번호 — NOT NULL

수강등록 (regs_tb)

  • 수강등록번호 (reg_id) — number — 기본 키 — NOT NULL
  • 수업번호 (lecture_id) — number — 외래 키 → 수업.수업번호 — NOT NULL
  • 강사번호 (teacher_id) — number — 외래 키 → 수업.강사번호 — NOT NULL
  • 학생번호 (student_id) — number — 외래 키 → 학생.학생번호 — NOT NULL
  • 등록일 (reg_joined_at) — date

수업 (lectures_tb)

  • 수업번호 (lecture_id) — number — 기본 키 — NOT NULL
  • 강사번호 (teacher_id) — number — 외래 키 → 강사.강사번호 — NOT NULL
  • 이름 (lecture_name) — varchar(20)
  • 과목 (lecture_subject) — varchar(20)
  • 시작일 (lecture_created_at) — date
  • 종료일 (lecture_finished_at) — date
  • 수업료 (lecture_cost) — number
  • 상태 (lecture_status) — bool

수업 시간표 (schedule_tb)

  • 시간표번호 (schedule_id) — number — 기본 키 — NOT NULL
  • 수업번호 (lecture_id) — number — 외래 키 → 수업.수업번호 — NOT NULL
  • 강사번호 (teacher_id) — number — 외래 키 → 강사.강사번호 — NOT NULL
  • 시작시간 (schedule_start) — datetime
  • 끝시간 (schedule_end) — datetime

수업영상 (video_tb)

  • 영상번호 (video_id) — number — 기본 키 — NOT NULL
  • 수업번호 (lecture_id) — number — 외래 키 → 수업.수업번호 — NOT NULL
  • 강사번호 (teacher_id) — number — 외래 키 → 수업.강사번호 — NOT NULL
  • 제목 (video_title) — varchar(100)
  • 내용 (video_des) — text
  • 영상 (video_video) — video

시험 (tests_tb)

  • 시험번호 (test_id) — number — 기본 키 — NOT NULL
  • 수업번호 (lecture_id) — number — 외래 키 → 수업.수업번호 — NOT NULL
  • 강사번호 (teacher_id) — number — 외래 키 → 수업.강사번호 — NOT NULL
  • 이름 (test_name) — varchar(20)
  • 문제수 (test_total_q) — num

영상수강기록 (watchrec_tb)

  • 영상수강번호 (watchrec_id) — number — 기본 키 — NOT NULL
  • 영상번호 (video_id) — number — 외래 키 → 수업영상.영상번호 — NOT NULL
  • 학생번호 (student_id) — number — 외래 키 → 학생.학생번호 — NOT NULL
  • 수강시작 (watchrec_start) — datetime
  • 수강끝 (watchrec_end) — datetime
  • 재생시간 (watchrec_playtime) — time
  • 진행률 (watchrec_percent) — number

응시 (testrec_tb)

  • 응시번호 (takerec_id) — number — 기본 키 — NOT NULL
  • 시험번호 (test_id2) — number — 외래 키 → 시험.시험번호 — NOT NULL
  • 학생번호 (student_id) — number — 외래 키 → 학생.학생번호 — NOT NULL
  • 응시일 (testrec_created_at) — date
  • 점수 (testrec_score) — number

직원 (worker_tb)

  • 직원번호 (worker_id) — number — 기본 키 — NOT NULL
  • 이름 (worker_name) — varchar(20)
  • 전화번호 (worker_contact) — number
  • 직무 (worker_job) — varchar(20)
  • 등록일 (worker_joined_at) — date
  • 기준급여 (worker_salary) — number

출석 (attend_tb)

  • 출석번호 (attend_id) — number — 기본 키 — NOT NULL
  • 수업번호 (lecture_id) — number — 외래 키 → 수업.수업번호 — NOT NULL
  • 학생번호 (student_id) — number — 외래 키 → 학생.학생번호 — NOT NULL
  • 출석일 (attend_created_at) — date
  • 출석 (attend) — bool
  • 지각 (attend_late) — bool

퇴원 (quit_tb)

  • 퇴원번호 (quit_id) — number — 기본 키 — NOT NULL
  • 학생번호 (student_id) — number — 외래 키 → 학생.학생번호 — NOT NULL
  • 수업번호 (lecture_id) — number — 외래 키 → 수업.수업번호 — NOT NULL
  • 강사번호 (teacher_id) — number — 외래 키 → 수업.강사번호 — NOT NULL
  • 퇴원일 (quit_created_at) — date
  • 퇴원사유 (quit_reason) — text

풀이기록 (solrec_tb)

  • 풀이번호 (solrec_id) — number — 기본 키 — NOT NULL
  • 문제번호 (q_id) — 외래 키 → 문제.문제번호 — NOT NULL
  • 학생번호 (student_id) — number — 외래 키 → 학생.학생번호 — NOT NULL
  • 풀이일자 (solrec_created_at) — date
  • 정답여부 (solrec_cor) — bool
  • 표기정답 (solrec_input_ans) — number

학생 (students_tb)

  • 학생번호 (student_id) — number — 기본 키 — NOT NULL
  • 이름 (student_name) — varchar(20)
  • 연락처(학생) (student_contact) — number
  • 연락처(학부모) (student_contact_p) — number
  • 등록일 (student_join_at) — date
  • 중학교 (student_m_school) — varchar(20)
  • 고등학교 (student_h_school) — varchar(20)
  • 상태 (student_status) — bool
  • 성별 (student_sex) — varchar(20)