title: Android Getting started with Sugar ORM
body: <p>i'm newbie in SugarORM and i want to use this library into my application. after set this library meta-tags i must be Extend SugarRecord for all the classes, for this action i'm create new class as Product as this sample</p>
  
  <pre><code>@Table
  public class ProductTable {
      private String id;
      private String count;
  
      public ProductTable() {
      }
  
      public ProductTable(String id, String count) {
          this.id = id;
          this.count = count;
      }
  
      public String getId() {
          return id;
      }
  
      public void setId(String id) {
          this.id = id;
      }
  
      public String getCount() {
          return count;
      }
  
      public void setCount(String count) {
          this.count = count;
      }
  }
  </code></pre>
  
  <p>and for Extend SugarRecord i'm want to have class as this sample:</p>
  
  <pre><code>public class ProductModel extends SugarRecord&lt;ProductModel&gt; {
      String title;
      String edition;
  
      public ProductModel(){
      }
  
      public ProductModel(String title, String edition){
          this.title = title;
          this.edition = edition;
      }
  }
  </code></pre>
  
  <p>but i get this error:</p>
  
  <pre><code>Error:(9, 46) java: type com.orm.SugarRecord does not take parameters
  </code></pre>
  
  <p>for this line:</p>
  
  <pre><code>public class ProductModel extends SugarRecord&lt;ProductModel&gt; {
  </code></pre>
  
  <p>i'm using this <a href="http://satyan.github.io/sugar/getting-started.html" rel="nofollow">Document</a></p>