SHARE
TWEET

Untitled

a guest Jun 18th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Entity(tableName = "entry_table")
  2. public class Entry {
  3.  
  4.     @PrimaryKey(autoGenerate = true)
  5.     private int id;
  6.  
  7.     private String username, hint, password;
  8.  
  9.     public Entry(String username, String hint, String password){
  10.         this.username = username;
  11.         this.hint = hint;
  12.         this.password = password;
  13.     }
  14.  
  15.     public Entry(){}
  16.  
  17.     public int getId() {return id;}
  18.  
  19.     public void setId(int id) {this.id = id;}
  20.  
  21.     public String getUsername() {return username;}
  22.  
  23.     public void setUsername(String username) {this.username = username;}
  24.  
  25.     public String getHint() {return hint;}
  26.  
  27.     public void setHint(String hint) {this.hint = hint;}
  28.  
  29.     public String getPassword() {return password;}
  30.  
  31.     public void setPassword(String password) {this.password = password;}
  32. }
  33.      
  34. @Entity(tableName = "entry_table")
  35.  
  36. data class Entry()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top