content: /*
   * Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     https://mindorks.com/license/apache-v2
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License
   */
  
  package <%= appPackage %>.data.db.model;
  
  import org.greenrobot.greendao.annotation.Entity;
  import org.greenrobot.greendao.annotation.Generated;
  import org.greenrobot.greendao.annotation.Id;
  import org.greenrobot.greendao.annotation.Property;
  
  /**
   * Created by janisharali on 08/12/16.
   */
  
  @Entity(nameInDb = "user")
  public class User {
  
      @Id(autoincrement = true)
      private Long id;
  
      @Property(nameInDb = "name")
      private String name;
  
      @Property(nameInDb = "created_at")
      private String createdAt;
  
      @Property(nameInDb = "updated_at")
      private String updatedAt;
  
  
      @Generated(hash = 1543916479)
      public User(Long id, String name, String createdAt, String updatedAt) {
          this.id = id;
          this.name = name;
          this.createdAt = createdAt;
          this.updatedAt = updatedAt;
      }
  
      @Generated(hash = 586692638)
      public User() {
      }
  
  
      public Long getId() {
          return this.id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public String getName() {
          return this.name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      public String getCreatedAt() {
          return this.createdAt;
      }
  
      public void setCreatedAt(String createdAt) {
          this.createdAt = createdAt;
      }
  
      public String getUpdatedAt() {
          return this.updatedAt;
      }
  
      public void setUpdatedAt(String updatedAt) {
          this.updatedAt = updatedAt;
      }
  }