package Ġcom . mo ha ey o . mo h ae . mapper Ċ Ċ import Ġcom . mo ha ey o . domain . entity . Answer Entity Ċ import Ġcom . mo ha ey o . domain . mapper . Mapper Ċ import Ġcom . mo ha ey o . mo h ae . model . Answer Model Ċ Ċ class ĠAnswer Mapper : ĠMapper < Answer Model , ĠAnswer Entity > Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġmap From ( from : ĠAnswer Model ): ĠAnswer Entity ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ= ĠAnswer Entity ( ĊĠĠĠĠĠĠĠ Ġid Ġ= Ġfrom . id , ĊĠĠĠĠĠĠĠ Ġquestion Id Ġ= Ġfrom . question Id , ĊĠĠĠĠĠĠĠ Ġusername Ġ= Ġfrom . username , ĊĠĠĠĠĠĠĠ Ġanswer Ġ= Ġfrom . answer ĊĠĠĠ Ġ) ĊĊĠĠĠ Ġfun Ġmap Entity To Model ( from : ĠAnswer Entity ): ĠAnswer Model ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ= ĠAnswer Model ( ĊĠĠĠĠĠĠĠ Ġid Ġ= Ġfrom . id , ĊĠĠĠĠĠĠĠ Ġquestion Id Ġ= Ġfrom . question Id , ĊĠĠĠĠĠĠĠ Ġusername Ġ= Ġfrom . username , ĊĠĠĠĠĠĠĠ Ġanswer Ġ= Ġfrom . answer ĊĠĠĠ Ġ) Ċ }