package com.keylesspalace.tusky.db; import android.arch.persistence.room.ColumnInfo; import android.arch.persistence.room.Entity; import android.arch.persistence.room.PrimaryKey; /** * toot model */ @Entity public class TootEntity { @PrimaryKey(autoGenerate = true) private int uid; @ColumnInfo(name = "text") private String text; // getter setter public String getText() { return text; } public void setText(String text) { this.text = text; } public int getUid() { return uid; } public void setUid(int uid) { this.uid = uid; } }