title: Springboot : How to remove an annotation on a subclass property?
body: <p>I'm using Springboot with MongoDB, and I have a class like this :</p>
  
  <pre><code>class Mcq {
     @DBRef public List&lt;Question&gt; questions;
  }
  
  class McqInstance extends Mcq {
     // Here I want a List&lt;QuestionAnswers&gt; questions instead, without DBRef
  }
  </code></pre>
  
  <p>How can I do such a thing, is that possible ? Or should I redeclare McqInstance without extending Mcq ?</p>