1. @Transient 注解放在setter方法上

      1. @Transient
      2. public String getSina_access_token() {
      3. return sina_access_token;
      4. }
      5. public void setSina_access_token(String sina_access_token) {
      6. this.sina_access_token = sina_access_token;
      7. }
    2. 使用 @Field注解中的ignoreFields

      1. /**
      2. * 跳转链接
      3. */
      4. @Field(ignoreFields = {"appUrl"})
      5. private String appUrl;