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

[feat] : gallery 도메인 추가 #369

Merged
merged 8 commits into from
Feb 21, 2024
Merged

[feat] : gallery 도메인 추가 #369

merged 8 commits into from
Feb 21, 2024

Conversation

devxb
Copy link
Member

@devxb devxb commented Feb 19, 2024

어떤 기능을 개발했나요?

Gallery 도메인을 추가했습니다.
조회의 변수가 되는 부분은 역정규화 해놨습니다

classDiagram
  class Gallery {
    gallery_id: Long
    target: Target
    survey: Survey
    updateOrder: Instant
  }

  class Target {
    target_id: Long
    job: Job
  }
  
  class Job {
    PM
    DEVELOPER
    DESIGNER
  }

  class Survey {
    survey_id: Long
    bookmarkedCount: Int
  }

  class TimeBaseEntity {
    createdAt: Instant
    updatedAt: Instant
  }

  Gallery --|> TimeBaseEntity
  Gallery --> Target
  Gallery --> Survey
  Target --> Job
Loading

어떻게 해결했나요?

  • target_id와 survey_id를 간접참조 하도록 구성했습니다.
  • 갤러리 필터링의 변인이 되는 부분은 역정규화 해놓았습니다.
    (타겟의 position, Survey의 저장횟수)
  • kotlin 구성을 추가했습니다.

이슈 넘버

참고자료

@devxb devxb marked this pull request as ready for review February 20, 2024 07:10
@devxb devxb marked this pull request as draft February 20, 2024 08:26
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@devxb devxb marked this pull request as ready for review February 20, 2024 08:53
@devxb devxb requested a review from dojinyou February 20, 2024 11:53
@devxb devxb merged commit 395d1a7 into main Feb 21, 2024
4 checks passed
@devxb devxb deleted the devxb/iss-#368 branch February 21, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] : 갤러리 도메인 설계
2 participants