package Ġcom . gn ader i . is land hop ping . config Ċ Ċ import Ġcom . gn ader i . is land hop ping . entity . Tile Type Entity Ċ import Ġcom . gn ader i . is land hop ping . repository . Tile Type Crud Repository Ċ import Ġorg . slf 4 j . LoggerFactory Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . boot . CommandLine Runner Ċ import Ġorg . springframework . stereotype . Component Ċ Ċ @ Component Ċ class ĠDb Initializer Startup Runner Ġ: ĠCommandLine Runner Ġ{ ĊĠĠĠ Ġprivate Ġval Ġlogger Ġ= ĠLoggerFactory . getLogger ( Db Initializer Startup Runner :: class . java ) ĊĠĠĠ Ġ@ Autowired ĊĠĠĠ Ġprivate Ġval Ġtype Crud Repository : ĠTile Type Crud Repository ? Ġ= Ġnull ĊĊĠĠĠ Ġ@ Throws ( Exception :: class ) ĊĠĠĠ Ġoverride Ġfun Ġrun ( var arg Ġargs : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġtype Crud Repository !!. save ( Tile Type Entity ( 1 , Ġ" LAND ")) ĊĠĠĠĠĠĠĠ Ġlogger . info (" Tile ĠTypes ĠL AND Ġcr ated !") ĊĠĠĠĠĠĠĠ Ġtype Crud Repository . save ( Tile Type Entity ( 2 , Ġ" WATER ")) ĊĠĠĠĠĠĠĠ Ġlogger . info (" Tile ĠTypes ĠW ATER Ġcr ated !") ĊĠĠĠ Ġ} Ċ } Ċ