使用
@Transient注释。
@Transientprivate Boolean errorStatus;@Transientprivate String operationResultMessage;
显然,如果要注释的是getter / setter而不是字段,那么
@Transient注释就是在这里进行的。

使用
@Transient注释。
@Transientprivate Boolean errorStatus;@Transientprivate String operationResultMessage;
显然,如果要注释的是getter / setter而不是字段,那么
@Transient注释就是在这里进行的。