package Ġcom . rb k money . port er . converter . openapi Ċ Ċ import Ġcom . rb k money . openapi . notification . model . Notification Ċ import Ġcom . rb k money . openapi . notification . model . Notification Status Ċ import Ġcom . rb k money . port er . converter . Not ific ator Converter Ċ import Ġcom . rb k money . port er . repository . entity . Notification Entity Ċ import Ġorg . springframework . context . annotation . Lazy Ċ import Ġorg . springframework . core . convert . Conversion Service Ċ import Ġorg . springframework . stereotype . Component Ċ import Ġjava . time . Zone Offset Ċ import Ġjava . util . UUID Ċ Ċ @ Component Ċ class ĠNotification Entity To Notification Api Converter ( ĊĠĠĠ Ġ@ Lazy Ġprivate Ġval Ġconversion Service : ĠConversion Service , Ċ ) Ġ: ĠNot ific ator Converter < Notification Entity , ĠNotification > Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġconvert ( notification Entity : ĠNotification Entity ): ĠNotification Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠNotification (). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġid Ġ= ĠUUID . fromString ( notification Entity . notification Id ) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠcreatedAt Ġ= Ġnotification Entity . createdAt . at Offset ( Zone Offset . UTC ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġstatus Ġ= Ġconversion Service . convert ( notification Entity . status , ĠNotification Status :: class . java ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġtitle Ġ= Ġnotification Entity . notification Template Entity !!. title ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcontent Ġ= Ġnotification Entity . notification Template Entity !!. content ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ