How does mybatis change a field name of an entity class to another name in the json data returned to the front end?

the overall use of the ssm framework.
this is the entity class:

I write that the json data returned to the front end is still of the type {name:.}. Is there any way to change the name displayed in json to another name, such as product_name? how should I change it?

Mar.13,2021
Add @ JsonProperty ("return the field name of the front end")

to the

field.

Menu