-
Notifications
You must be signed in to change notification settings - Fork 0
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
임의 데이터 추가함. 관계 설정 안 된 상태. #30
base: develop
Are you sure you want to change the base?
Conversation
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.
코어데이터는 코드로 리뷰 하기가 애매해서 자세한 내용은 회의에서 다시 말씀 드려보겠습니다.
우선, 테마 추가에 대해서 다 같이 이야기 해야할 부분이 하나 생겨서 이에 따라 엔티티가 하나 더 추가될 수도 있을 것 같습니다.
또, 현재 엔티티 이름에 약간의 오타가 보이는 것 같아요. 해당 부분은 회의에서 다시 이야기 해보겠습니다.
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.
수정 확인했습니다.
현재 상황에서 일부 수정하면 좋을 것 같은 이름과 관계를 조금 구성해봤습니다.
Coordinate
는 Address
와 1:1 매칭 관계라고 생각이 됩니다. 그렇다면 이 둘은 하나로 통합하는 것이 더 나을 것이라고 판단됩니다. 이 두개를 나눠놓았을 때는 좌표나 주소가 수정되었을 경우, id를 얻기위한 PinInfo와 주소를 수정하기 위한 Address, 그리고 좌표를 수정하기 위한 Coordinate에 모두 접근해야 하지만, 이 둘을 통합하면 PinInfo와 좌표와 주소를 가지고 있는 총 2개의 엔티티에만 접근하면 되니 이쪽이 더 효율적일 것 같네요.
또, Pictures는 Picture
가 되면 더 좋을 것 같아요. Pictures
라는 이름이 뭔가 하나의 엔티티에 여러 사진을 갖고 있는 것 처럼 느껴져서 어차피 1:M 관계로 매핑하기 때문에 Picture
가 되는 쪽이 더 좋을 것 같네요.
아래는 제가 생각했을 때 수정되면 좋을 것 같은 방향입니다. 참고만 해보시고 더 좋을 것 같은 방향으로 진행해주세요~
Motivation 🥳 (코드를 추가/변경하게 된 이유)
pin 생성 시 입력된 정보를 바탕으로 core data에 저장되도록 작성 중임.
Key Changes 🔥 (주요 구현/변경 사항)
core data 추가
ToDo 📆 (남은 작업)
ScreenShot 📷 (참고 사진)
To Reviewers 🙏 (리뷰어에게 전달하고 싶은 말)
Reference 🔗
없음
Close Issues 🔒 (닫을 Issue)
Close #No.29