I need to perform custom validation for object (to check necessary fieds, to chacke values for example code must be less that 100 ant bigger 10 and so on )
How do you solve this problem?