File tree Expand file tree Collapse file tree 5 files changed +15
-4
lines changed
domain/src/main/java/team/retum/usecase/entity
network/src/main/java/team/retum/network/model/response
feature/recruitment/src/main
java/team/retum/jobis/recruitment Expand file tree Collapse file tree 5 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ data class RecruitmentDetailsEntity(
2929 val isApplicable : Boolean ,
3030 val bookmarked : Boolean ,
3131 val winterIntern : Boolean ,
32- val integrationPlan : Boolean ,
32+ val integrationPlan : Boolean? ,
33+ val hireConvertible : Boolean? ,
3334)
3435
3536@Immutable
@@ -73,6 +74,7 @@ internal fun FetchRecruitmentDetailsResponse.toEntity() = RecruitmentDetailsEnti
7374 bookmarked = this .bookmarked,
7475 winterIntern = this .winterIntern,
7576 integrationPlan = this .integrationPlan,
77+ hireConvertible = this .hireConvertible,
7678)
7779
7880private fun Areas.toEntity () = AreasEntity (
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ data class FetchRecruitmentDetailsResponse(
2525 @Json(name = " is_applicable" ) val isApplicable : Boolean ,
2626 @Json(name = " bookmarked" ) val bookmarked : Boolean ,
2727 @Json(name = " winter_intern" ) val winterIntern : Boolean ,
28- @Json(name = " integration_plan" ) val integrationPlan : Boolean ,
28+ @Json(name = " integration_plan" ) val integrationPlan : Boolean? ,
29+ @Json(name = " hire_convertible" ) val hireConvertible : Boolean? ,
2930)
3031
3132@JsonClass(generateAdapter = true )
Original file line number Diff line number Diff line change @@ -253,10 +253,16 @@ private fun RecruitmentDetailInfo(
253253 title = stringResource(id = R .string.etc),
254254 content = etc,
255255 )
256- if (winterIntern) {
256+ if (winterIntern && integrationPlan != null ) {
257257 Detail (
258258 title = stringResource(id = R .string.integration_plan),
259- content = " ${if (integrationPlan) " μ" else " μ" } μ" ,
259+ content = " ${if (integrationPlan!! ) " μ" else " μ" } μ" ,
260+ )
261+ }
262+ if (! winterIntern && hireConvertible != null ) {
263+ Detail (
264+ title = stringResource(id = R .string.hireConvertible),
265+ content = " ${if (hireConvertible!! ) " μ" else " μ" } μ" ,
260266 )
261267 }
262268 }
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ internal data class RecruitmentDetailsState(
7676 bookmarked = false ,
7777 winterIntern = false ,
7878 integrationPlan = false ,
79+ hireConvertible = false ,
7980 ),
8081 buttonEnabled = false ,
8182 )
Original file line number Diff line number Diff line change 2626 <string name =" submission_document" >μ μΆ μλ₯</string >
2727 <string name =" etc" >κΈ°ν μ¬ν</string >
2828 <string name =" integration_plan" >νμ₯μ€μ΅ μ°κ³ κ³ν</string >
29+ <string name =" hireConvertible" >μ±μ©μ ν κ°λ₯ μ¬λΆ</string >
2930 <string name =" apply" >μ§μνκΈ°</string >
3031 <string name =" can_do_not_apply" >μ§μν μ μμ΄μ</string >
3132 <string name =" major_task" >μ£Όμ μ
무</string >
You canβt perform that action at this time.
0 commit comments