package Ġcom . e zi ke . to ben na . star w ars search . character _ detail . mapper Ċ Ċ import Ġcom . e zi ke . to ben na . star w ars search . character _ detail . model . Character Detail Model Ċ import Ġcom . e zi ke . to ben na . star w ars search . lib _ character _ search . domain . model . Character Ċ import Ġcom . e zi ke . to ben na . star w ars search . presentation . mapper . Model Mapper Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠCharacter Detail Model Mapper Ġ@ Inject Ġconstructor () Ġ: ĊĠĠĠ ĠModelMapper < Character Detail Model , ĠCharacter > Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġmap To Model ( domain : ĠCharacter ): ĠCharacter Detail Model Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠCharacter Detail Model ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġdomain . name , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġdomain . birth Year , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġdomain . height , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġdomain . url ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġmap To Domain ( model : ĠCharacter Detail Model ): ĠCharacter Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠCharacter ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmodel . name , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmodel . birth Year , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmodel . height Cm , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmodel . url ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ } Ċ