I need to store objects, groups of objects, object properties and groups of properties in a database. Objects have only one property, object groups have only one properties group. Properties of objects in the same group must belong to the same property group. Let it be products and categories. I came up with this schema:
Product: id category_id product_group_id ProductGroup: id category_id Category: id category_group_id CategoryGroup id
Products in different groups can belong the same category.
I think the link from ProductGroup to CategoryGroup is not needed here, but I don"t know how to map Products with CategoryGroups.
The post What is the proper way to store a group of objects and a group of object properties? appeared first on 100% Private Proxies - Fast, Anonymous, Quality, Unlimited USA Private Proxy!.