I have to create entity with many parameters, about 100-150 fields. Basically, it's entity which store information about estates. I know that one object with so many parameters will be bad so now I'm thinking about three solutions:
- Create estate entity with common ~20 fields and another one like estates_parameters with rest of it (~100 fields).
- Create estate entity with common ~20 fields and four other entities with parameters for specific type of estates like estate_house_parameters, estate_flat_parameters and so on. Each of them would have about 30 fields.
- Create estate entity with relationship ManyToMany with different entity which store information about type of parameter, it's value and related estate.
What is important, that I have to search for estates by this parameters.
Which solution will be the best or maybe there are other, better solutions?