Conversation
- `UserData` 데이터 클래스에 `id`, `kakaoId`, `point` 필드를 추가했습니다. - `UserDataProto` 메시지 정의를 업데이트하여 해당 필드들을 포함하도록 수정했습니다. - `UserDataMapper`에서 `UserDataProto` ↔ `UserData` 간 매핑 로직에 새 필드를 반영했습니다.
- `GroupSchedule.scheduleId` → `id`, `GroupMember.memberId` → `id`로 필드명을 통일했습니다. - 변경된 이름에 맞춰 관련 네트워크 모델, 데이터 소스, 테스트 코드의 참조도 일괄 수정했습니다.
- 그룹 일정 요약 정보를 나타내는 `GroupScheduleSummary` 데이터 클래스를 새로 정의했습니다. - 포함 필드: - `id`: 일정 식별자 - `name`: 일정 이름 - `location`: 장소 정보 (`Location`) - `scheduleTime`: 일정 시간 (`LocalDateTime`) - `owner`: 생성자 정보 (`GroupMember`)
- `GroupMemberBase` 추상 클래스를 도입하여 공통 프로퍼티(`id`, `nickname`, `memberProfileImage`)를 정의했습니다. - 다양한 맥락별 멤버 모델(`GroupMember`, `GroupMemberWithPoint`, `GroupMemberWithArrivalTimeDiff`)이 이를 상속하도록 구성해, 중복된 필드 선언을 제거하고 타입 간 일관성과 다형성을 확보했습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PULL REQUEST
도메인 모델을 구체화 및 리펙토링 작업
Description
UserData모델 확장UserData에id,kakaoId,point필드를 추가했습니다.공통 ID 필드명 통일
GroupSchedule.scheduleId→id,GroupMember.memberId→id로 필드명을 통일하여 도메인 모델 간 일관성을 높였습니다.GroupScheduleSummary정의GroupScheduleSummary모델을 도입했습니다.id,name,location,scheduleTime,ownerGroupMember도메인 모델 구조 변경GroupMemberBase추상 클래스를 도입했습니다.GroupMember,GroupMemberWithPoint,GroupMemberWithArrivalTimeDiff가 이를 상속하도록 구성하여 공통 필드를 재사용하고 의미 기반 확장을 가능하게 했습니다.