-
Notifications
You must be signed in to change notification settings - Fork 3
#33 feat(be): 채널가입 api 구현 #57
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| package com.jootalkpia.workspace_server.repository; | ||
|
|
||
| import com.jootalkpia.workspace_server.entity.UserChannel; | ||
| import com.jootalkpia.workspace_server.entity.Users; | ||
| import org.springframework.data.jpa.repository.JpaRepository; | ||
| import org.springframework.stereotype.Repository; | ||
|
|
||
| @Repository | ||
| public interface UserRepository extends JpaRepository<Users, Long> { | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
큰 것도 잘못된 것도 아니지만, 저는 Entity나 DTO를 만들때 해당 class의 변수들의 노출을 막고 싶어 정적 팩토리 메서드를 즐겨 사용합니다! 이건 고쳤으면 좋겠다가 아니라 저는 이렇게 즐겨 한다~ 입니다!!
https://tecoble.techcourse.co.kr/post/2020-05-26-static-factory-method/