Skip to content

Commit

Permalink
Merge pull request #175 from GSM-MSG/delete/dream_book
Browse files Browse the repository at this point in the history
🔀 :: studentTechStack -> techStack으로 변경
  • Loading branch information
Huuuunee authored Aug 17, 2023
2 parents b3c852d + bd30858 commit fd0c782
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import team.msg.sms.domain.student.model.MilitaryService

data class SignUpRequestData(
val major: String,
val studentTechStacks: List<String>,
val techStacks: List<String>,
val profileImgUrl: String,
val introduce: String,
val portfolioUrl: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ data class DetailStudentInfoTeacherResponseData(
val salary: Int,
val languageCertificates: List<LanguageCertificate.LanguageCertificateScore>,
val certificates: List<String>,
val studentTechStacks: List<String>,
val techStacks: List<String>,
val projects: List<ProjectResponseData>,
val prizes: List<PrizeResponseData>
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class SignUpUseCase(
studentTechStackValid(
studentId = student.id,
stack = techStacks,
studentTechStacks = signUpData.studentTechStacks
studentTechStacks = signUpData.techStacks
)

signUpData.projects.forEach {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class StudentInfoTeacherUseCase(
salary = student.salary,
languageCertificates = languageCertificates,
certificates = certificates,
studentTechStacks = studentTechStacks.map {
techStacks = studentTechStacks.map {
toStudentTechStacks(techStacks, it)?.stack ?: ""
},
projects = generateProjectResponseData(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ data class UserProfileDetailResponseData(
val salary: Int,
val languageCertificates: List<LanguageCertificate.LanguageCertificateScore>,
val certificates: List<String>,
val studentTechStacks: List<String>,
val techStacks: List<String>,
val projects: List<ProjectResponseData>,
val prizes: List<PrizeResponseData>
)
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class QueryCurrentUserProfileDetailUseCase(
salary = student.salary,
languageCertificates = languageCertificates,
certificates = certificates,
studentTechStacks = studentTechStacks.map {
techStacks = studentTechStacks.map {
toStudentTechStacks(techStacks, it)?.stack ?: ""
},
projects = generateProjectResponseData(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class StudentWebAdapter(
major = this.major,
profileImg = this.profileImg,
contactEmail = this.contactEmail,
studentTechStacks = this.studentTechStacks,
studentTechStacks = this.techStacks,
formOfEmployment = this.formOfEmployment,
portfolioUrl = this.portfolioUrl,
certificates = this.certificates,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import javax.validation.constraints.*
data class SignUpWebRequest(
val major: String,

val studentTechStacks: List<String>,
val techStack: List<String>,

@field:NotBlank
@field:Pattern(regexp = "^https://.*")
Expand Down Expand Up @@ -50,7 +50,7 @@ data class SignUpWebRequest(
fun toData(): SignUpRequestData =
SignUpRequestData(
major = major,
studentTechStacks = studentTechStacks,
techStacks = techStack,
profileImgUrl = profileImgUrl,
introduce = introduce,
portfolioUrl = portfolioUrl,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class UserWebAdapter(
salary = this.salary,
languageCertificates = this.languageCertificates,
certificates = this.certificates,
studentTechStacks = this.studentTechStacks,
techStacks = this.techStacks,
projects = this.projects,
prizes = this.prizes
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ data class UserProfileDetailWebResponse(
val salary: Int,
val languageCertificates: List<LanguageCertificate.LanguageCertificateScore>,
val certificates: List<String>,
val studentTechStacks: List<String>,
val techStacks: List<String>,
val projects: List<ProjectResponseData>,
val prizes: List<PrizeResponseData>
)

0 comments on commit fd0c782

Please sign in to comment.