Replace Record with Data Class

You need to interface with a record structure in a traditional programming environment.

Make a dumb data object for the record.