Custom Constraint(Validator) for different Types