title: Android Room multiple embedded fields of same type
body: <p>Let's suppose I have the below model:</p>
  
  <pre><code>@Entity
  public class Session {
      @Embedded
      Student student;
      @Embedded
      Tutor tutor;
      String location;
      Long timestamp;
  }
  
  public class student {
      Person person;
      double rating;
  }
  
  public class Tutor {
      Person person;
      double rating;
      double hourlyRate;
  }
  
  public class Person {
      String firstName;
      String lastName;
  
  }
  </code></pre>
  
  <p>When building the project, it will tell me that there is a duplicate field "firstName" because both Tutor and Student have the same Person model.</p>
  
  <p>In reality the Person model is way bigger than just a simple firstName and lastName so OverrideAttributes is not a good solution for my case. What can I do to maybe prefix the attribute names depending on the embedded model.</p>