Lecture_homework
Tables (4)
applies (특강 신청)
- PK (id) — Long — Primary key — NOT NULL
- User PK (userId) — Long — Foreign key → users.PK — NOT NULL
- Lecture PK (lectureId) — Long — Foreign key → lectures.PK — NOT NULL
- 취소 여부 (isCancel) — Boolean — NOT NULL
- 신청 일자 (createdAt) — DateTime — NOT NULL
lectures (특강)
- PK (id) — Long — Primary key — NOT NULL
- 주제 (subject) — String — NOT NULL
- 특강 설명 (description) — String
- 강사 (lecturer) — String — NOT NULL
- 인원 제한 (limitCount) — int — NOT NULL
- 현재 신청자 수 (currentApplicantsCount) — int — NOT NULL
- 특강 일자 (scheduledDate) — DateTime — NOT NULL
- 게시일 (createdAt) — DateTime — NOT NULL
- 최종 수정일 (updatedAt) — DateTime — NOT NULL
user_signs (사용자 로그인 정보)
- PK (id) — Long — Primary key — NOT NULL
- User PK (userId) — Long — Foreign key → users.PK — NOT NULL
- 엑세스 토큰 (accessToken) — String — NOT NULL
- 리프레시 토큰 (refreshToken) — String — NOT NULL
- 엑세스 토큰 만료 일자 (accessTokenExpiresIn) — DateTime — NOT NULL
- 리프레시 토큰 만료 일자 (refreshTokenExpiresIn) — DateTime — NOT NULL
- 로그인 일자 (createdAt) — DateTime — NOT NULL
users (사용자)
- PK (id) — Long — Primary key — NOT NULL
- 로그인 아이디 (loginId) — String — NOT NULL
- 비밀번호 (password) — String — NOT NULL
- 이름 (name) — String — NOT NULL
- 생년월일 (birthDate) — String — NOT NULL
- 핸드폰 번호 (phone) — String — NOT NULL
- 사용자 활성화 여부 (isActive) — Boolean — NOT NULL
- 가입 일자 (createdAt) — DateTime — NOT NULL
- 최종 수정 일자 (updatedAt) — DateTime — NOT NULL