특강예약사이트
테이블 (4)
Application (신청)
- applicationKey (Key) — 기본 키 — NOT NULL
- userKey (Key2) — 외래 키 → Users.userKey — NOT NULL
- lectureKey (Key3) — 외래 키 → Lecture.lectureKey — NOT NULL
- status (Field) — eunm
- appliedAt (Field2)
Lecture (강의)
- lectureKey (Key) — 기본 키 — NOT NULL
- title (Field)
- location (Field2) — enum
- description (Field7)
- lectureDate (Field3)
- capacity (Field4) — 정원
- currentApplicants (Field5) — 신청인원(동시성 이슈 제거예정)
- createdAt (Field6)
- lecturer (Field8) — 강연자
Users (사용자)
- userKey (Key) — 기본 키 — NOT NULL
- userId (Field) — unique
- userPw (Field2)
- userName (Field3)
- createdAt (Field4)
- deletedAt (Field5)
- role (Field6) — enum
Waiting (Untitled)
- waitingKey (Key) — 기본 키 — NOT NULL
- waitingOrder (Field) — 대기순번
- status (Field2) — eunm(waiting, cancel, promote)
- createdAt (Field3)
- updateAt (Field4)