diff --git a/Projects/Domain/StudentDomain/Sources/DTO/Response/FetchStudentDetailByGuestResponseDTO.swift b/Projects/Domain/StudentDomain/Sources/DTO/Response/FetchStudentDetailByGuestResponseDTO.swift index a920163c..596ad6a7 100644 --- a/Projects/Domain/StudentDomain/Sources/DTO/Response/FetchStudentDetailByGuestResponseDTO.swift +++ b/Projects/Domain/StudentDomain/Sources/DTO/Response/FetchStudentDetailByGuestResponseDTO.swift @@ -27,6 +27,11 @@ public struct FetchStudentDetailByGuestResponseDTO: Decodable { self.projects = projects self.prizes = prizes } + + enum CodingKeys: String, CodingKey { + case name, introduce, major, techStacks, projects, prizes + case profileImg = "profileImgUrl" + } } public extension FetchStudentDetailByGuestResponseDTO { diff --git a/Projects/Domain/StudentDomain/Sources/DTO/Response/FetchStudentDetailByStudentResponseDTO.swift b/Projects/Domain/StudentDomain/Sources/DTO/Response/FetchStudentDetailByStudentResponseDTO.swift index 3b64a26e..3cc79a39 100644 --- a/Projects/Domain/StudentDomain/Sources/DTO/Response/FetchStudentDetailByStudentResponseDTO.swift +++ b/Projects/Domain/StudentDomain/Sources/DTO/Response/FetchStudentDetailByStudentResponseDTO.swift @@ -13,6 +13,11 @@ public struct FetchStudentDetailByStudentResponseDTO: Decodable { public let techStacks: [String] public let projects: [ProjectResponseDTO] public let prizes: [PrizeResponseDTO] + + enum CodingKeys: String, CodingKey { + case name, introduce, grade, classNum, number, department, major, techStacks, projects, prizes + case profileImg = "profileImgUrl" + } } public extension FetchStudentDetailByStudentResponseDTO { diff --git a/Projects/Domain/StudentDomain/Sources/DTO/Response/FetchStudentDetailByTeacherResponseDTO.swift b/Projects/Domain/StudentDomain/Sources/DTO/Response/FetchStudentDetailByTeacherResponseDTO.swift index 8cb1c408..609c3e86 100644 --- a/Projects/Domain/StudentDomain/Sources/DTO/Response/FetchStudentDetailByTeacherResponseDTO.swift +++ b/Projects/Domain/StudentDomain/Sources/DTO/Response/FetchStudentDetailByTeacherResponseDTO.swift @@ -23,6 +23,13 @@ public struct FetchStudentDetailByTeacherResponseDTO: Decodable { public let projects: [ProjectResponseDTO] public let prizes: [PrizeResponseDTO] + enum CodingKeys: String, CodingKey { + case name, introduce, portfolioUrl, grade, classNum, number, department, contactEmail, gsmAuthenticationScore + case formOfEmployment, regions, militaryService, salary, languageCertificates, certificates + case major, techStacks, projects, prizes + case profileImg = "profileImgUrl" + } + public struct LanguageCertificateResponseDTO: Decodable { public let name: String public let score: String