I've built a ATS application where a medium-sized set of entity instances (maybe 50 - 1000 entities) belong to a certain customer.
Currently, I got the following design:
Each Entity type has its own table. E.g. there's a 'customers' table storing all customers. And a 'things' table storing all things.
The customer ID is the partition key of an entity. E.g. a thing belonging to customer ABC belongs to the partition ABC.
I mostly query, update and delete entity sets owned by a certain customer. E.g. I query all 'thing' instances a customer has.
Is that a good way of organizing rows? Would it be better to have one table for each customer where all his data is stored?
Thank you in advance