package Ġcom . m ct ech . stock trade tracking . data . timeline _ balance . mapper Ċ Ċ import Ġcom . m ct ech . stock trade tracking . data . timeline _ balance . database . Timeline Balance Database Entity Ċ import Ġcom . m ct ech . stock trade tracking . domain . timeline _ balance . entity . Timeline Balance Ċ Ċ fun ĠTimeline Balance . to Database Entity () Ġ= ĠTimeline Balance Database Entity ( ĊĠ Ġid Ġ= Ġid , ĊĠ Ġperiod Tag Ġ= Ġperiod Tag , ĊĠ Ġparent Period Id Ġ= Ġparent Period Id , ĊĠ ĠstartDate Ġ= ĠstartDate , ĊĠ Ġperiod Invest ment Ġ= Ġperiod Invest ment , ĊĠ Ġperiod Profit Ġ= Ġperiod Profit Ċ ) Ċ Ċ fun ĠTimeline Balance Database Entity . to Business Entity (): ĠTimeline Balance Ġ{ ĊĠ Ġreturn ĠTimeline Balance ( ĊĠĠĠ Ġid Ġ= Ġid , ĊĠĠĠ Ġperiod Tag Ġ= Ġperiod Tag , ĊĠĠĠ Ġparent Period Id Ġ= Ġparent Period Id , ĊĠĠĠ ĠstartDate Ġ= ĠstartDate , ĊĠĠĠ Ġperiod Invest ment Ġ= Ġperiod Invest ment , ĊĠĠĠ Ġperiod Profit Ġ= Ġperiod Profit ĊĠ Ġ) Ċ }