crystal-wallet-android/app/src/main/java/cy/agorise/crystalwallet/models/AccountSeed.java

61 lines
1.1 KiB
Java
Raw Normal View History

2017-09-08 00:31:38 +00:00
package cy.agorise.crystalwallet.models;
2017-09-13 21:52:36 +00:00
import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;
2017-09-08 00:31:38 +00:00
/**
2017-09-13 21:52:36 +00:00
* Represents a type of crypto seed for HD wallets
*
2017-09-08 00:31:38 +00:00
* Created by Henry Varona on 6/9/2017.
*/
2017-09-10 23:13:32 +00:00
@Entity(tableName = "account_seed")
2017-09-08 00:31:38 +00:00
public class AccountSeed {
2017-09-13 21:52:36 +00:00
/**
* The id on the database
*/
2017-09-08 00:31:38 +00:00
@PrimaryKey(autoGenerate = true)
@ColumnInfo(name = "id")
private int mId;
2017-09-13 21:52:36 +00:00
/**
* The name or tag of this seed
*/
2017-09-08 00:31:38 +00:00
@ColumnInfo(name = "name")
private String mName;
2017-09-13 21:52:36 +00:00
/**
* The bytes of the master seed
*/
2017-09-08 00:31:38 +00:00
@ColumnInfo(name = "master_seed")
private String mMasterSeed;
public int getId() {
return mId;
}
public void setId(int id){
this.mId = id;
}
public String getName() {
return mName;
}
public void setName(String mName) {
this.mName = mName;
}
public String getMasterSeed() {
return mMasterSeed;
}
public void setMasterSeed(String mMasterSeed) {
this.mMasterSeed = mMasterSeed;
}
}