package Ġcom . z iz oh . ule sson . cache . map pers Ċ Ċ import Ġcom . z iz oh . ule sson . cache . map pers . base . Cache Model Mapper Ċ import Ġcom . z iz oh . ule sson . cache . models . Chapter With Less ons Ċ import Ġcom . z iz oh . ule sson . data . models . Chapter With Less ons Entity Ċ import Ġjavax . inject . Inject Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġz iz oh Ġon Ġ 1 8 / January / 2 0 2 1 . Ċ Ġ*/ Ċ Ċ class ĠChapter With Less ons Mapper Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġchapter Cache Mapper : ĠChapter Cache Mapper , ĊĠĠĠ Ġprivate Ġval Ġlesson Cache Model Mapper : ĠLess on Cache Model Mapper Ċ ) Ġ: ĠCache Model Mapper < Chapter With Less ons , ĠChapter With Less ons Entity > Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġmap To Entity ( model : ĠChapter With Less ons ): ĠChapter With Less ons Entity Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġwith ( model ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠChapter With Less ons Entity ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġchapter Cache Mapper . map To Entity ( chapter Cache Model ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġlesson Cache Model Mapper . map To Entity List ( lessons ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġmap To Model ( entity : ĠChapter With Less ons Entity ): ĠChapter With Less ons Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġwith ( entity ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠChapter With Less ons ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġchapter Cache Mapper . map To Model ( chapter Entity ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġlesson Cache Model Mapper . map To Model List ( lessons ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }