private UserRole primaryRole private String enterpriseEmplId; private ComponentState state; @JsonIgnore private CommonsMultipartFile image; private String mobileNumber; @Min(value = 1, message = "Country Id should be greater than 0") private int countryId;
Thanks in Advance.