Skip to content

Commit

Permalink
chore: 패키지 구조 도메인 주도로 수정 (#19)
Browse files Browse the repository at this point in the history
chore: 패키지 구조 도메인 주도로 수정
  • Loading branch information
h-beeen authored Mar 21, 2024
2 parents 5eca9de + ad03d9c commit 5544c49
Show file tree
Hide file tree
Showing 85 changed files with 568 additions and 574 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.vacgom.backend.application.auth
package com.vacgom.backend.auth.application

import com.vacgom.backend.domain.auth.oauth.OauthConnector
import com.vacgom.backend.domain.auth.oauth.OauthUriGenerator
import com.vacgom.backend.domain.auth.oauth.constants.ProviderType
import com.vacgom.backend.auth.domain.OauthConnector
import com.vacgom.backend.auth.domain.OauthUriGenerator
import com.vacgom.backend.auth.domain.constants.ProviderType
import com.vacgom.backend.global.exception.error.BusinessException
import com.vacgom.backend.global.security.exception.AuthError
import org.springframework.stereotype.Component
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.vacgom.backend.application.auth
package com.vacgom.backend.auth.application

import com.vacgom.backend.application.auth.dto.response.AuthResponse
import com.vacgom.backend.application.auth.dto.response.MemberResponse
import com.vacgom.backend.application.auth.dto.response.TokenResponse
import com.vacgom.backend.domain.auth.constants.Role.ROLE_TEMP_USER
import com.vacgom.backend.domain.auth.oauth.constants.ProviderType
import com.vacgom.backend.domain.member.Member
import com.vacgom.backend.auth.application.dto.response.AuthResponse
import com.vacgom.backend.auth.application.dto.response.MemberResponse
import com.vacgom.backend.auth.application.dto.response.TokenResponse
import com.vacgom.backend.auth.domain.constants.ProviderType
import com.vacgom.backend.auth.domain.constants.Role.ROLE_TEMP_USER
import com.vacgom.backend.global.security.jwt.JwtFactory
import com.vacgom.backend.infrastructure.member.persistence.MemberRepository
import com.vacgom.backend.member.domain.Member
import com.vacgom.backend.member.infrastructure.persistence.MemberRepository
import jakarta.transaction.Transactional
import org.springframework.http.HttpHeaders
import org.springframework.stereotype.Component
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
package com.vacgom.backend.application.auth
package com.vacgom.backend.auth.application

import com.vacgom.backend.application.auth.dto.request.SignUpRequest
import com.vacgom.backend.application.auth.dto.response.AuthResponse
import com.vacgom.backend.application.auth.dto.response.MemberResponse
import com.vacgom.backend.application.auth.dto.response.TokenResponse
import com.vacgom.backend.domain.auth.constants.Role
import com.vacgom.backend.domain.inoculation.Inoculation
import com.vacgom.backend.domain.member.HealthProfile
import com.vacgom.backend.domain.member.MemberDetails
import com.vacgom.backend.domain.member.Nickname
import com.vacgom.backend.exception.inoculation.VaccineError
import com.vacgom.backend.exception.member.MemberError
import com.vacgom.backend.exception.member.NicknameError
import com.vacgom.backend.auth.application.dto.request.SignUpRequest
import com.vacgom.backend.auth.application.dto.response.AuthResponse
import com.vacgom.backend.auth.application.dto.response.MemberResponse
import com.vacgom.backend.auth.application.dto.response.TokenResponse
import com.vacgom.backend.auth.domain.constants.Role
import com.vacgom.backend.global.exception.error.BusinessException
import com.vacgom.backend.global.security.jwt.JwtFactory
import com.vacgom.backend.infrastructure.inoculation.persistence.InoculationRepository
import com.vacgom.backend.infrastructure.inoculation.persistence.VaccinationRepository
import com.vacgom.backend.infrastructure.member.persistence.HealthProfileRepository
import com.vacgom.backend.infrastructure.member.persistence.MemberRepository
import com.vacgom.backend.inoculation.domain.Inoculation
import com.vacgom.backend.inoculation.exception.VaccineError
import com.vacgom.backend.inoculation.infrastructure.persistence.InoculationRepository
import com.vacgom.backend.inoculation.infrastructure.persistence.VaccinationRepository
import com.vacgom.backend.member.domain.HealthProfile
import com.vacgom.backend.member.domain.MemberDetails
import com.vacgom.backend.member.domain.Nickname
import com.vacgom.backend.member.exception.MemberError
import com.vacgom.backend.member.exception.NicknameError
import com.vacgom.backend.member.infrastructure.persistence.HealthProfileRepository
import com.vacgom.backend.member.infrastructure.persistence.MemberRepository
import jakarta.transaction.Transactional
import org.slf4j.Logger
import org.springframework.stereotype.Service
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.vacgom.backend.auth.application.dto.request

import com.vacgom.backend.disease.domain.constants.HealthCondition

data class MemberInfoRequest(
val nickname: String,
val healthConditions: MutableList<HealthCondition>,
)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.vacgom.backend.application.auth.dto.request
package com.vacgom.backend.auth.application.dto.request

data class SignUpRequest(
val memberInfo: MemberInfoRequest,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.vacgom.backend.application.auth.dto.request
package com.vacgom.backend.auth.application.dto.request

data class VaccinationInfoRequest(
val name: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.vacgom.backend.application.auth.dto.request
package com.vacgom.backend.auth.application.dto.request

import java.time.LocalDate

Expand Down
Loading

0 comments on commit 5544c49

Please sign in to comment.