entity: reflection is required in constructor
rules and messages property path, nested entity validation
codestyle