title: No setter/field for type found on class problem
body: <p>I'm creating an app in Android Studio, which connects to a Cloud Firestore database. In the database I have the following structure:</p>
  <pre class="lang-java prettyprint-override"><code>package com.example.gym.models;
  
  public class PopularModel {
  
      String name;
      String description;
      String rating;
      String discount;
      String type;
      String img_url;
  
      public PopularModel() {
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      public String getDescription() {
          return description;
      }
  
      public void setDescription(String description) {
          this.description = description;
      }
  
      public String getRating() {
          return rating;
      }
  
      public void setRating(String rating) {
          this.rating = rating;
      }
  
      public String getDiscount() {
          return discount;
      }
  
      public void setDiscount(String discount) {
          this.discount = discount;
      }
  
      public String getType() {
          return type;
      }
  
      public void setType(String type) {
          this.type = type;
      }
  
      public String getImg_url() {
          return img_url;
      }
  
      public void setImg_url(String img_url) {
          this.img_url = img_url;
      }
  }
  </code></pre>
  <p>When i run the program, it says No setter/field for type  found on class com.example.gym.models.PopularModel. Can someone help me please?</p>