Added field validations to product model