package Ġcom . the test company . presentation . map pers Ċ Ċ import Ġcom . the test company . domain . Mapper Ċ import Ġcom . the test company . domain . entities . Shopping List Entity Ċ import Ġcom . the test company . presentation . entities . Shopping List Ċ import Ġjavax . inject . Inject Ċ import Ġjavax . inject . Singleton ĊĊ Ċ @ Singleton Ċ class ĠShop ping List Entity Mapper Ġ@ Inject Ġconstructor () Ġ: ĠMapper < Shopping List , ĠShop ping List Entity >() Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġmap From ( from : ĠShop ping List ): ĠShop ping List Entity Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠShop ping List Entity ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġid Ġ= Ġfrom . id , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġname Ġ= Ġfrom . name , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠcreatedAt Ġ= Ġfrom . createdAt , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcolor Ġ= Ġfrom . color ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ Ċ }