Skip to content

Commit

Permalink
fix(User) : 유저 가입시 커넥션 활성상태 활성으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
waterfogSW committed Jan 5, 2025
1 parent a33980d commit 5b9072f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ data class User(
val profileImages: List<UserProfileImage> = emptyList(),
val profile: UserProfile,
val desiredPartner: UserDesiredPartner,
val connectionStatus: ConnectionStatus = ConnectionStatus.INACTIVE,
val connectionStatus: ConnectionStatus,
) : AggregateRoot<User, User.Id>() {

data class Id(override val value: UUID) : UUIDTypeId(value)
Expand Down Expand Up @@ -68,6 +68,7 @@ data class User(
partnerJobOccupations: List<JobOccupation>,
partnerPreferDistance: PreferDistance,
allowSameCompany: Boolean?,
connectionStatus: ConnectionStatus = ConnectionStatus.ACTIVE,
): User {
val id: Id = UUIDTypeId.random<Id>()

Expand All @@ -94,6 +95,7 @@ data class User(
phoneNumber = phoneNumber,
profile = profile,
desiredPartner = desiredPartner,
connectionStatus = connectionStatus,
)
}
}
Expand Down

0 comments on commit 5b9072f

Please sign in to comment.