Describe the request
Redesign Entity class in such a way that it can have validation for sub class creation. Currently and in future, many common methods will be added due to common schemas in PC entities. New methods needs to be added to Entity class which can be used by all sub classes. So for this kind of use cases, we need to have some validations in Entity class which would check for certain properties required to create sub class out of it for every PC entity.
Describe the request Redesign Entity class in such a way that it can have validation for sub class creation. Currently and in future, many common methods will be added due to common schemas in PC entities. New methods needs to be added to Entity class which can be used by all sub classes. So for this kind of use cases, we need to have some validations in Entity class which would check for certain properties required to create sub class out of it for every PC entity.