content: package com.nagarro.persistence.entity;
  
  import android.arch.persistence.room.ColumnInfo;
  import android.arch.persistence.room.Entity;
  import android.arch.persistence.room.PrimaryKey;
  
  @Entity(tableName = "user")
  public class User {
  
      @PrimaryKey(autoGenerate = true)
      private int uid;
  
      @ColumnInfo(name = "first_name")
      private String firstName;
  
      @ColumnInfo(name = "last_name")
      private String lastName;
  
      @ColumnInfo(name = "age")
      private int age;
  
      public int getUid() {
          return uid;
      }
  
      public void setUid(int uid) {
          this.uid = uid;
      }
  
      public String getFirstName() {
          return firstName;
      }
  
      public void setFirstName(String firstName) {
          this.firstName = firstName;
      }
  
      public String getLastName() {
          return lastName;
      }
  
      public void setLastName(String lastName) {
          this.lastName = lastName;
      }
  
      public int getAge() {
          return age;
      }
  
      public void setAge(int age) {
          this.age = age;
      }
  
  }
  