@JsonIgnore prevents a field from being serialized or deserialized.
The @JsonIgnore annotation allows you to exclude certain fields from JSON serialization/deserialization. This is useful for sensitive data or fields irrelevant to the JSON response, such as internal IDs. For example, if your Product class has an internalId that should not be exposed to clients, you can use @JsonIgnore on that field.