Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

남은 구현파트 #68

Open
1 of 4 tasks
woo-yu opened this issue Feb 26, 2021 · 4 comments
Open
1 of 4 tasks

남은 구현파트 #68

woo-yu opened this issue Feb 26, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@woo-yu
Copy link
Contributor

woo-yu commented Feb 26, 2021

  • 온라인 클래스 주문 (혜진)

  • 내용을

  • 적어줍시다

  • 나아중에 구현할 파트
    • 시큐리티 (혜진)
@woo-yu woo-yu added the enhancement New feature or request label Feb 26, 2021
@HwaGyeong
Copy link
Contributor

HwaGyeong commented Feb 26, 2021

  • 오프라인 클래스 큰/작은 카테고리 조회
  • 오프라인 클래스 카테고리 옆부분 카테고리 별 반환
  • 오프라인 클래스 지역별 조회 , 카테고리 생성
  • 모두의 문제(결제, 아이디 찾기 인증)

@ksy991018
Copy link
Contributor

ksy991018 commented Feb 27, 2021

OnlineClass Crawling

  • online_class

  • online_class_category

  • online_class_video

  • preparation (x)

  • oc_order (x)

  • online_class_review (수정필요)

  • order_detail_id 이름은 아직 정해진게 없어서 offline_order_detail_id로 해놓았는데 나중에 바뀐다면 수정부탁.

  • (ourdus_product_review.csv에서 컬럼 이름을 review_id -> online_review_id & product_id -> online_class_id & review_content -> online_review_content & review_date -> online_review_date & review_rate -> online_review_rate 로 수정. 그리고, product_id가 135일때 까지만. 그밑에 행들은 삭제)

  • online_class_comment (수정필요)

  • (ourdus_product_comment.csv에서 컬럼 이름을 comment_id -> online_comment_id & product_id -> online_class_id & comment_content -> online_comment_content 로 수정. 그리고, product_id가 135일때 까지만. 그밑에 행들은 삭제)

  • 온라인 클래스 동영상은 만약 쓰인다해도 각 클래스당 메인에 있는거 하나만 쓰기 때문에, online_class_video 테이블을 따로 파지않고, online_class 테이블에 class_video라는 컬럼이름으로 추가해놓았음!

  • 만약, 동영상을 사용 안한다면, 클래스 리스트에서 보이는 대표사진 저장해놓은 online_class_img 컬럼을 이용하면 될듯.

OfflineClass Crawling

  • offline_class
  • C_small_category
  • C_big_category
  • offline_class_image (온라인과 다르게 사진 여러장이라서 따로 테이블 생성)
  • C_reversation (x)
  • offline_class_review (약간의 수정필요)
  • order_detail_id 이름은 아직 정해진게 없어서 offline_order_detail_id로 해놓았는데 나중에 바뀐다면 수정부탁.
  • (ourdus_product_review.csv에서 컬럼 이름을 review_id -> offline_review_id & product_id -> class_id & review_content -> offline_review_content & review_date -> offline_review_date & review_rate -> offline_review_rate 그리고, product_id가 99일때 까지만. 그밑에 행들은 삭제)
  • offline_class_comment (약간의 수정필요)
  • (ourdus_product_review.csv에서 컬럼 이름을 comment_id -> offline_comment_id & product_id -> class_id & comment_content -> offline_comment_content 로 수정. 그리고, product_id가 99일때 까지만. 그밑에 행들은 삭제)
  • c_order (x)
  • offlineclass에서 소요시간이 1.5시간 ,3.5시간, 3시간 이런식이라서 타입을 int로 맞추기 어려웠음. 그래서, 작품의 별점과 똑같은 방식으로 곱하기 10해서 int형으로 맞추었음. 프론트쪽에서 처리해달라고 부탁해야할듯.
  • online_class & offline_class에 있는 author_id는 유저 늘리지않기 위해 1부터 순차적으로 설정해놓음. 작품에서 작가가 몇백명이어서 문제될건 없을듯!
  • 별점, 조회수, 즐겨찾기수, 구매수는 명시되어있지 않아서 다 0으로 해놓음!
  • online class & offline_class의 댓글과 리뷰는 유저 늘리지않기 위해 작품꺼 우려먹을 생각! 따라서, column 이름만 바꿔주고 값은 똑같이 할 예정.

스프링

  • 온라인/오프라인 리뷰 ORDER_DETAIL과 매핑 (아직 온/오프라인 오더 디테일 테이블이 없어서 주석처리해놓았음)

@HwaGyeong
Copy link
Contributor

추가로 필요한 데이터 (테이블 명 작성)

  1. C_reservation
  2. C_order
  3. product_child_option
  4. product_parent_option
  5. 오프라인 클래스 comment, review 부분 수정 필요

@woo-yu
Copy link
Contributor Author

woo-yu commented Mar 14, 2021

필요한 테이블 데이터 https://github.com/Ourdus/OurdusBE/tree/document
document 브랜치에 올려놨습니다~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants