package Ġcom . xy . spring . demo . service Ċ Ċ import Ġcom . xy . spring . demo . entity . City Entity Ċ import Ġcom . xy . spring . demo . mapper . City Mapper Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . stereotype . Repository Ċ Ċ @ Repository Ċ open Ġclass ĠCity Service Ġ{ ĊĊĠĠĠ Ġ@ Autowired ĊĠĠĠ Ġopen Ġlateinit Ġvar Ġcity Mapper : ĠCity Mapper ĊĊĠĠĠ Ġopen Ġfun ĠgetC ities (): ĠList < City Entity > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġcity Mapper . getC ities () ĊĠĠĠ Ġ} Ċ }