카우치코딩

테이블 (8)

Lecture (강의)

  • id — BigInt — 기본 키 — NOT NULL
  • name (강의 이름) — String
  • number (강의 기수) — Int
  • defaultPrice (강의 정가) — Int
  • startDate (강의 시작일) — DateTime
  • endDate (강의 마감일) — DateTime
  • dayOfWeek (강의 진행 요일) — DayOfWeek
  • lectureTime (강의 시간) — String
  • createdAt (생일일자) — DateTime
  • updatedAt (수정일자) — DateTime

LectureApply (강의 등록 회원 정보)

  • id — BigInt — 기본 키 — NOT NULL
  • name (학생 이름) — String
  • email (이메일) — String
  • phone (전화번호) — String
  • recommend (추천) — String
  • motivation (지원 동기) — String
  • career (경력) — String
  • friend (동료) — String
  • createdAt (생일일자) — DateTime
  • updatedAt (수정일자) — DateTime
  • paymentId (강의결재 아이디) — BigInt — 외래 키 → Payment.id
  • lectureRecruitmentId (강의등록 정원 정보 아이디) — BigInt — 외래 키 → LectureRecruitment.id — NOT NULL
  • priceId (할인 품목 아이디) — BigInt — 외래 키 → SaleInfo.id

LectureRecruitment (강의 등록 정원 정보)

  • id — BigInt — 기본 키 — NOT NULL
  • name (파트 이름) — String
  • maxNumber (정원) — Int
  • createdAt (생성일자) — DateTime
  • updatedAt (수정일자) — DateTime
  • lectureId (강의 아이디) — BigInt — 외래 키 → Lecture.id — NOT NULL

Payment (결재)

  • id — BigInt — 기본 키
  • price (가격) — Int
  • name (결재 회원 이름) — String — NOT NULL
  • phone (전화번호) — String — NOT NULL
  • email (이메일) — String — NOT NULL
  • impData (iamPort 결재 정보) — Json — NOT NULL
  • paymentMethod (결재 방법) — PaymentMethod
  • status (결재 상태) — PaymentStatus
  • createdAt (생성일자) — DateTime
  • updatedAt (수정일자) — DateTime

PortfolioFaq (포트폴리오_faq)

  • id — Int — 기본 키
  • question (질문) — String
  • answer (답변) — String

PortfolioProject (포트폴리오_플젝)

  • id — BigInt — 기본 키
  • title (제목) — String
  • description (설명) — String
  • url (링크) — String
  • image (이미지) — String
  • preview (프리뷰) — String
  • previewType (프리뷰타입) — PortfolioPreviewType — enum PortfolioPreviewType { IMAGE YOUTUBE }
  • createdAt (생성일자) — DateTime
  • updatedAt (수정일자) — DateTime

PortfolioReview (포트폴리오_리뷰)

  • id (아이디) — BigInt — 기본 키
  • writer (작성자) — String
  • content (내용) — String
  • rating (점수) — Int
  • createdAt (생성일자) — DateTime
  • updatedAt (수정일자) — DateTime

SaleInfo (할인 품목)

  • id (아이디) — BigInt — 기본 키
  • name (할인 이름) — String
  • price (할인가) — Int
  • createdAt (생성일자) — DateTime
  • updatedAt (수정일자) — DateTime
  • lectureId (강의 아이디) — BigInt — 외래 키 → Lecture.id — NOT NULL