package Ġcom . example . mar vel . domain . record Ċ Ċ import Ġcom . example . mar vel . api .* Ċ import Ġcom . example . mar vel . domain . Ignore Audit Info Ċ import Ġcom . example . mar vel . domain . Mapper Config Ċ import Ġorg . map struct . Mapper Ċ import Ġorg . map struct . Mapping Ċ import Ġorg . map struct . Mappings Ċ import Ġkotlin . annotation . Annotation Retention . BINARY Ċ Ċ @ Mapper ( config Ġ= ĠMapper Config :: class ) Ċ abstract Ġclass ĠRecord Mapper Ġ{ ĊĊĠĠĠ Ġ@ Mappings ( ĊĠĠĠĠĠĠĠ ĠMapping ( ignore Ġ= Ġtrue ĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ, Ġtarget Ġ= Ġ" version "), ĊĠĠĠĠĠĠĠ ĠMapping ( source Ġ= Ġ" record Collection Id ", Ġtarget Ġ= Ġ" report ")) ĊĠĠĠ Ġ@ Record To Entity ĊĠĠĠ Ġabstract Ġfun Ġto Entity ( source : ĠRecord Create Command ): ĠRecord Entity ĊĊĠĠĠ Ġ@ Mapping ( ignore Ġ= Ġtrue , Ġtarget Ġ= Ġ" report ") ĊĠĠĠ Ġ@ Record To Entity ĊĠĠĠ Ġabstract Ġfun Ġto Entity ( source : ĠRecord Update Command ): ĠRecord Entity ĊĊĠĠĠ Ġ@ Record To Dto ĊĠĠĠ Ġabstract Ġfun Ġto Create View ( source : ĠRecord Entity ): ĠRecord Create View ĊĊĠĠĠ Ġ@ Record To Dto ĊĠĠĠ Ġabstract Ġfun Ġto Update View ( source : ĠRecord Entity ): ĠRecord Update View ĊĊĠĠĠ Ġ@ Mappings ( ĊĠĠĠĠĠĠĠ ĠMapping ( ignore Ġ= Ġtrue , Ġtarget Ġ= Ġ" id ")) ĊĠĠĠ Ġ@ Ignore Audit Info ĊĠĠĠ Ġ@ Retention ( BINARY ) ĊĠĠĠ Ġannotation Ġclass ĠRecord To Entity ĊĊĠĠĠ Ġ@ Mapping ( source Ġ= Ġ" report . id ", Ġtarget Ġ= Ġ" record Collection Id ") ĊĠĠĠ Ġ@ Retention ( BINARY ) ĊĠĠĠ Ġannotation Ġclass ĠRecord To Dto Ċ } Ċ