Try this tutorial and its use of Association Lists if you’re looking for similar functionality to Ethereum’s mappings:
https://sdk.dfinity.org/developers-guide/tutorials/phonebook.html
Association List standard library docs are here:
https://sdk.dfinity.org/language-guide/index.html#stdlib-assoclist