Actually in Realm, the class name of the model coincides with the name of the table. And how to create a lot of tables with different names but on 1 model? That is, let's say there is a list of brands of shoes, this is 1 table. Each brand has a collection (there are as many of these tables as brands, although there may even be more, but we are not distracted). Each model in the shoe collection has id, color, price .. . (which do not depend on the collection or brand of shoes) let's say you need to get JSON parsed and saved in a table.
1. List of brands
2. collection_dolce
3. collection_eccet
............................
N. collection_xxx
How to create these tables with different names on one model? In the list of brands, you can add a column with the names of collection tables.