hhplus-clean-architecture

Tables (4)

Student (Untitled)

  • id — int — Primary key — NOT NULL
  • name — string
  • Field

lecture (Untitled2)

  • id — int — Primary key — NOT NULL
  • title — string
  • instructor (lecturer) — string
  • created_at — DATETIME
  • updated_at — DATETIME

lecture_time (Untitled4)

  • id — int — Primary key — NOT NULL
  • lecture_id — int — Foreign key → lecture.id — NOT NULL
  • time — DATE
  • student_cnt — int
  • created_at — DATETIME
  • updated_at — DATETIME

register_lecture (Untitled3)

  • id — int — Primary key — NOT NULL
  • student_id — int — Foreign key → Student.id — NOT NULL
  • lecture_time_id — int — Foreign key → lecture_time.id — NOT NULL
  • created_at — DATETIME
  • updated_at — DATETIME