erd
Tables (4)
Category (카테고리)
- id (기본키) — Long — Primary key — NOT NULL
- categoryName (카테고리) — String
- sortValue (카테고리 번호) — int
- usingYn (카테고리 활성화 여부) — boolean
Course (강의)
- id (기본키) — Long — Primary key — NOT NULL
- categoryId (강의 번호) — Long
- imagePath (배너 이미지) — String
- keyword (키워드) — String
- subject (강의제목) — String
- summary (강의 요약) — String
- contents (컨텐츠) — String
- price (가격) — Long
- salePrice (할인가) — Long
- saleEndDt (세일마감일) — LocalDate
- regDt (등록날짜) — LocalDateTime
- udtDt (수정날짜) — LocalDateTime
Member (회원)
- userId (아이디) — String — Primary key — NOT NULL
- userName (사용자 이름) — String
- phone (전화번호) — String
- password (비밀번호) — String
- regDateTime (등록날짜) — LocalDateTime
- updateDateTime (수정날짜) — LocalDateTime
- emailAuth (이메일 인증 여부) — boolean
- emailAuthKey (이메일 인증 키) — String
- emailAuthTime (인증 시간) — LocalDateTime
- resetPasswordKey (비밀번호 인증키) — String
- resetPasswordLimitDt (비빌번호 인증키 유효시간) — LocalDateTime
- adminYN (관리자 여부) — boolean
- userStatus (회원상태) — String
- zipcode (우편번호) — String
- addr (주소) — String
- addrDetail (세부주소) — String
- Field
TakeCourse (수강신청)
- id (기본키) — Long — Primary key — NOT NULL
- userId (아이디) — String
- payPrice (결제금액) — Long
- status (수강상태) — String
- regDt (등록날짜) — LocalDateTime
- udtDt (수정날짜) — LocalDateTime
- courseId (기본키2) — Long — Foreign key → Course.id — NOT NULL