引入该注解: import javax.persistence.Transient;
使用方法: @Transient @ApiModelProperty(value=“目标名称”) private String targetName;